/* ============================================================
   Kimmy's Kookies — global styles
   Palette pulled from the logo: dusty pink, lavender, sage,
   cream and blush. Typography pairs an elegant script with
   a soft, refined serif and rounded sans for body text.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --pink-50:  #fdf6f4;
  --pink-100: #fdeef2;
  --pink-200: #f9d6df;
  --pink-300: #f3c8d4;
  --pink-400: #ecb1c0;
  --pink-500: #dc8aa0;   /* primary script pink */
  --pink-600: #c47488;
  --pink-700: #9b5167;

  --lav-200:  #e6dcef;
  --lav-300:  #d2bfe1;
  --lav-400:  #b9a4d4;   /* KOOKIES purple */
  --lav-500:  #9b85b8;
  --lav-700:  #6b577f;

  --sage-200: #dde8d3;
  --sage-300: #c5d4b8;
  --sage-400: #b5c9a8;   /* banner sage */
  --sage-600: #82996f;

  --cream-50:  #fffaf6;
  --cream-100: #f9efe2;
  --cream-200: #f6e4cb;

  --ink-900: #3a2730;    /* warm near-black */
  --ink-700: #4a3942;
  --ink-500: #7a6772;
  --ink-300: #b3a4ac;

  --shadow-soft: 0 18px 48px -24px rgba(220, 138, 160, .35);
  --shadow-card: 0 12px 32px -18px rgba(74, 57, 66, .25);

  --font-script: 'Allura', 'Brush Script MT', cursive;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--pink-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pink-700); }

img { max-width: 100%; display: block; }

/* ============================================================
   Atmosphere — soft confetti-dot background used site-wide
   ============================================================ */

.bg-confetti {
  background-color: var(--cream-50);
  background-image:
    radial-gradient(circle at 20% 18%, var(--pink-200) 0, var(--pink-200) 4px, transparent 5px),
    radial-gradient(circle at 78% 28%, var(--lav-300) 0, var(--lav-300) 3px, transparent 4px),
    radial-gradient(circle at 35% 70%, var(--sage-300) 0, var(--sage-300) 4px, transparent 5px),
    radial-gradient(circle at 88% 82%, var(--pink-300) 0, var(--pink-300) 3px, transparent 4px),
    radial-gradient(circle at 12% 90%, var(--lav-200) 0, var(--lav-200) 3px, transparent 4px);
  background-size: 520px 520px, 460px 460px, 600px 600px, 540px 540px, 500px 500px;
  background-position: 0 0, 100px 80px, 60px 200px, 200px 50px, 30px 120px;
}

/* ============================================================
   SPLASH — first impression, fades out into the page
   ============================================================ */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, var(--cream-50) 0%, var(--pink-100) 60%, var(--pink-200) 100%);
  animation: splashOut 1.1s ease 2.6s forwards;
  overflow: hidden;
}

.splash::before, .splash::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .6;
}
.splash::before {
  width: 480px; height: 480px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, var(--lav-300) 0%, transparent 70%);
}
.splash::after {
  width: 520px; height: 520px;
  bottom: -160px; right: -120px;
  background: radial-gradient(circle, var(--sage-300) 0%, transparent 70%);
}

.splash__inner {
  position: relative;
  text-align: center;
  animation: splashIn 1s cubic-bezier(.2,.9,.3,1.1) both;
}

.splash__logo {
  width: clamp(220px, 36vw, 360px);
  margin: 0 auto 14px;
  filter: drop-shadow(0 18px 30px rgba(220, 138, 160, .35));
}

.splash__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: .04em;
  font-size: clamp(14px, 1.6vw, 18px);
  margin-top: 6px;
  opacity: 0;
  animation: fadeUp .9s ease .5s forwards;
}

/* sprinkles falling */
.splash__sprinkles { position: absolute; inset: 0; pointer-events: none; }
.splash__sprinkles span {
  position: absolute;
  display: block;
  width: 8px; height: 14px;
  border-radius: 4px;
  opacity: 0;
  animation: sprinkleFall 2.4s linear infinite;
}
.splash__sprinkles span:nth-child(1)  { left:  8%;  background: var(--pink-400);  animation-delay: 0s; }
.splash__sprinkles span:nth-child(2)  { left: 18%;  background: var(--lav-400);   animation-delay: .3s; }
.splash__sprinkles span:nth-child(3)  { left: 28%;  background: var(--sage-400);  animation-delay: .6s; }
.splash__sprinkles span:nth-child(4)  { left: 38%;  background: var(--pink-300);  animation-delay: .15s; }
.splash__sprinkles span:nth-child(5)  { left: 48%;  background: var(--lav-300);   animation-delay: .9s; }
.splash__sprinkles span:nth-child(6)  { left: 58%;  background: var(--sage-300);  animation-delay: .4s; }
.splash__sprinkles span:nth-child(7)  { left: 68%;  background: var(--pink-400);  animation-delay: .8s; }
.splash__sprinkles span:nth-child(8)  { left: 78%;  background: var(--lav-400);   animation-delay: .2s; }
.splash__sprinkles span:nth-child(9)  { left: 88%;  background: var(--sage-400);  animation-delay: 1s; }
.splash__sprinkles span:nth-child(10) { left: 94%;  background: var(--pink-300);  animation-delay: .5s; }

@keyframes sprinkleFall {
  0%   { transform: translateY(-30px) rotate(0deg);     opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translateY(110vh) rotate(540deg);   opacity: 0; }
}

@keyframes splashIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes splashOut {
  to { opacity: 0; visibility: hidden; transform: scale(1.05); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 246, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px dashed var(--pink-300);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav__brand img { height: 46px; width: auto; }
.nav__brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav__brand-text .script {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--pink-500);
}
.nav__brand-text .small {
  font-family: var(--font-display);
  letter-spacing: .35em;
  font-size: 10px;
  color: var(--lav-400);
  margin-top: 2px;
}
.nav__links {
  margin-left: auto;
  display: flex; gap: 26px; align-items: center;
}
.nav__links a {
  font-weight: 600; color: var(--ink-700); font-size: 14px;
  letter-spacing: .04em;
}
.nav__links a:hover { color: var(--pink-500); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(220, 138, 160, .55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(220, 138, 160, .65);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--lav-500);
  border: 1.5px solid var(--lav-300);
}
.btn--ghost:hover {
  background: var(--lav-200);
  color: var(--lav-700);
}
.btn--sage {
  background: var(--sage-400);
  color: #fff;
}
.btn--sage:hover { background: var(--sage-600); color: #fff; transform: translateY(-1px); }
.btn--small { padding: 8px 16px; font-size: 11px; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 80px 28px 60px;
  overflow: hidden;
}
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lav-500);
  letter-spacing: .15em;
  font-size: 13px;
  text-transform: uppercase;
  border: 1px dashed var(--lav-300);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0 0 8px 0;
}
.hero__title .script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--pink-500);
  font-size: 1.35em;
  display: inline-block;
  line-height: 1;
  margin-right: 6px;
  vertical-align: -.05em;
}
.hero__title em {
  font-style: italic;
  color: var(--lav-500);
}
.hero__lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-500);
  margin: 22px 0 32px;
  max-width: 540px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  text-align: center;
}
.hero__visual img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(220, 138, 160, .35));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: .55;
}
.hero__bubble--pink { width: 380px; height: 380px; top: -60px; left: -80px; background: var(--pink-200); }
.hero__bubble--lav  { width: 320px; height: 320px; bottom: -80px; right: -60px; background: var(--lav-200); }
.hero__bubble--sage { width: 260px; height: 260px; top: 40%; right: 30%; background: var(--sage-200); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

section { padding: 80px 28px; position: relative; }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sage-600);
  letter-spacing: .2em;
  font-size: 12px;
  text-transform: uppercase;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--ink-900);
  margin: 8px 0 14px;
  line-height: 1.1;
}
.section__title .script {
  font-family: var(--font-script);
  color: var(--pink-500);
  font-size: 1.3em;
  display: inline-block;
  vertical-align: -.05em;
  margin-right: 4px;
}
.section__lede {
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.7;
}

/* tiny ornamental divider */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 14px auto 24px; color: var(--pink-300);
}
.divider::before, .divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pink-300), transparent);
}
.divider svg { width: 14px; height: 14px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about { background: var(--cream-100); }
.about__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}
.about__photo {
  position: relative;
  padding: 18px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transform: rotate(-2deg);
}
.about__photo img { border-radius: 14px; }
.about__photo::after {
  content: '';
  position: absolute; inset: 6px;
  border: 1.5px dashed var(--pink-300);
  border-radius: 18px;
  pointer-events: none;
}
.about__text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.about__text p {
  color: var(--ink-500);
  line-height: 1.75;
  margin: 0 0 14px;
}
.about__text .signature {
  font-family: var(--font-script);
  color: var(--pink-500);
  font-size: 38px;
  line-height: 1;
  margin-top: 10px;
}

/* ============================================================
   MENU GRID
   ============================================================ */

.menu-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--pink-100);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px dashed var(--pink-200);
  border-radius: 16px;
  pointer-events: none;
  opacity: .5;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(220, 138, 160, .45);
}
.card__media {
  height: 200px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-100), var(--lav-200));
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.card__media-empty {
  font-family: var(--font-script);
  color: var(--pink-400);
  font-size: 64px;
  opacity: .6;
}
.card__category {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lav-500);
  margin-bottom: 4px;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.card__desc {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}
.card__price {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--pink-200);
}
.card__price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--pink-500);
}
.card__price-unit {
  font-size: 12px;
  color: var(--ink-500);
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta-strip {
  background: linear-gradient(135deg, var(--pink-200) 0%, var(--lav-200) 50%, var(--sage-200) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ink-900);
  margin: 0 0 10px;
}
.cta-strip h2 .script {
  font-family: var(--font-script);
  color: var(--pink-600);
  font-size: 1.4em;
  display: inline-block;
  vertical-align: -.05em;
}
.cta-strip p {
  color: var(--ink-500);
  margin: 0 0 28px;
  font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink-900);
  color: #f6e4cb;
  padding: 60px 28px 28px;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-script);
  color: var(--pink-300);
  font-size: 44px;
  line-height: 1;
}
.footer__sub {
  font-family: var(--font-display);
  letter-spacing: .35em;
  font-size: 12px;
  color: var(--lav-300);
  margin-top: 4px;
  margin-bottom: 24px;
}
.footer__links {
  display: flex; gap: 28px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 28px;
}
.footer__links a {
  color: #f6e4cb;
  font-size: 14px;
  letter-spacing: .04em;
}
.footer__links a:hover { color: var(--pink-300); }
.footer__legal {
  border-top: 1px dashed rgba(243, 200, 212, .25);
  padding-top: 20px;
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: .04em;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-shell {
  max-width: 880px;
  margin: 40px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 42px;
  border: 1px solid var(--pink-100);
  position: relative;
}
.form-shell::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1.5px dashed var(--pink-200);
  border-radius: 18px;
  pointer-events: none;
  opacity: .55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid--full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lav-500);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--pink-200);
  background: var(--cream-50);
  color: var(--ink-900);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(236, 177, 192, .25);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }

/* product picker rows on order page */
.picker-list {
  display: flex; flex-direction: column; gap: 10px; margin-top: 10px;
}
.picker {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream-50);
  border: 1.5px solid var(--pink-100);
  border-radius: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.picker:hover { background: var(--pink-50); border-color: var(--pink-200); }
.picker__thumb {
  width: 60px; height: 60px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pink-200), var(--lav-200));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-script); color: #fff; font-size: 28px;
  overflow: hidden;
}
.picker__thumb img { width: 100%; height: 100%; object-fit: cover; }
.picker__title { font-weight: 600; color: var(--ink-900); }
.picker__price { color: var(--ink-500); font-size: 13px; }
.picker__qty {
  display: flex; align-items: center; gap: 8px;
}
.picker__qty input[type=number] {
  width: 64px; padding: 8px 10px; border-radius: 10px;
  border: 1.5px solid var(--pink-200); background: #fff;
  font-family: var(--font-body); font-weight: 600; text-align: center;
  font-size: 15px;
}

/* alerts / flash */
.flash {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid;
}
.flash--success { background: var(--sage-200); color: var(--sage-600); border-color: var(--sage-300); }
.flash--error   { background: #ffe4e6; color: var(--pink-700); border-color: var(--pink-300); }
.flash--info    { background: var(--lav-200); color: var(--lav-700); border-color: var(--lav-300); }

/* ============================================================
   ADMIN
   ============================================================ */

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--cream-50);
}
.admin-side {
  background: linear-gradient(180deg, #fffaf6 0%, #fdeef2 100%);
  border-right: 1px dashed var(--pink-300);
  padding: 28px 22px;
}
.admin-side .brand {
  font-family: var(--font-script);
  color: var(--pink-500);
  font-size: 30px;
  line-height: 1;
  text-align: center;
}
.admin-side .brand-sub {
  font-family: var(--font-display);
  letter-spacing: .3em;
  font-size: 10px;
  color: var(--lav-400);
  text-align: center;
  margin-bottom: 28px;
}
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
}
.admin-side nav a:hover { background: var(--pink-100); color: var(--pink-700); }
.admin-side nav a.active {
  background: var(--pink-200);
  color: var(--pink-700);
  box-shadow: inset 3px 0 0 var(--pink-500);
}
.admin-side .logout {
  margin-top: 22px;
  border-top: 1px dashed var(--pink-300);
  padding-top: 18px;
}
.admin-side .logout button {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--pink-300);
  color: var(--pink-600);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.admin-side .logout button:hover { background: var(--pink-200); }

.admin-main { padding: 32px 40px; }
.admin-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  color: var(--ink-900);
  margin: 0;
}
.admin-header h1 .script {
  font-family: var(--font-script);
  color: var(--pink-500); font-size: 1.2em;
  display: inline-block; vertical-align: -.05em;
}

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px;
  margin-bottom: 36px;
}
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--pink-300);
}
.stat:nth-child(2) { border-top-color: var(--lav-400); }
.stat:nth-child(3) { border-top-color: var(--sage-400); }
.stat:nth-child(4) { border-top-color: var(--pink-500); }
.stat:nth-child(5) { border-top-color: var(--lav-500); }
.stat__label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 4px; line-height: 1;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px dashed var(--pink-200);
}
.data-table th {
  background: var(--pink-100);
  color: var(--ink-700);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.data-table tbody tr:hover { background: var(--cream-100); }
.data-table tbody tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  text-transform: uppercase;
}
.badge--new          { background: var(--pink-200);  color: var(--pink-700); }
.badge--confirmed    { background: var(--lav-200);   color: var(--lav-700); }
.badge--in_progress  { background: #fbe6c2;          color: #8a6516; }
.badge--ready        { background: var(--sage-200);  color: var(--sage-600); }
.badge--completed    { background: #d4ead4;          color: #2e6b3a; }
.badge--cancelled    { background: #f4d4d4;          color: #92393a; }
.badge--unpaid       { background: #f5f5f5;          color: #6b6b6b; }
.badge--paid         { background: var(--sage-200);  color: var(--sage-600); }
.badge--refunded     { background: #f4d4d4;          color: #92393a; }

/* admin login */
.login-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.login-card {
  width: 100%; max-width: 420px;
  background: #fff;
  padding: 38px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--pink-200);
  text-align: center;
  position: relative;
}
.login-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1.5px dashed var(--pink-200);
  border-radius: 16px;
  pointer-events: none;
}
.login-card .brand {
  font-family: var(--font-script);
  color: var(--pink-500);
  font-size: 44px; line-height: 1;
}
.login-card .brand-sub {
  font-family: var(--font-display);
  letter-spacing: .4em;
  font-size: 11px;
  color: var(--lav-400);
  margin-bottom: 28px;
}
.login-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-700);
  margin: 0 0 18px;
}

/* messages thread */
.thread { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.msg {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--cream-100);
  border: 1px dashed var(--pink-200);
}
.msg--admin { background: var(--lav-200); border-color: var(--lav-300); }
.msg--system { background: var(--sage-200); border-color: var(--sage-300); font-style: italic; }
.msg__meta { font-size: 11px; color: var(--ink-500); margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 900px;
  padding: 0 20px;
}
.gallery-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--pink-200);
  background: #fff;
  color: var(--ink-700);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .06em;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-filter:hover {
  background: var(--pink-100);
  border-color: var(--pink-300);
  color: var(--pink-700);
}
.gallery-filter.is-active {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  color: #fff;
  border-color: var(--pink-500);
  box-shadow: 0 6px 16px -6px rgba(220, 138, 160, .55);
}

/* Masonry-ish column layout — keeps aspect ratios intact and feels organic */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  column-count: 3;
  column-gap: 18px;
  padding: 0 20px;
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }

.gallery-item {
  break-inside: avoid;
  margin: 0 0 18px 0;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--pink-100);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.gallery-item::before {
  content: '';
  position: absolute; inset: 4px;
  border: 1px dashed var(--pink-200);
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -20px rgba(220, 138, 160, .45);
}
.gallery-item:hover::before { opacity: .6; }
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.gallery-item__caption {
  padding: 10px 8px 4px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.3;
}
.gallery-item__cat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lav-500);
  padding: 0 8px 8px;
}

.gallery-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-500);
}
.gallery-empty .big {
  font-family: var(--font-script);
  color: var(--pink-400);
  font-size: 52px;
  line-height: 1;
  margin-bottom: 8px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(58, 39, 48, .88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  cursor: zoom-out;
  animation: lb-fade .25s ease;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  max-width: 92vw;
  max-height: 88vh;
  text-align: center;
  cursor: default;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  background: #fff;
  padding: 10px;
}
.lightbox__meta {
  margin-top: 14px;
  color: #fff;
  font-family: var(--font-display);
}
.lightbox__title { font-size: 20px; font-weight: 500; }
.lightbox__caption { font-size: 14px; color: var(--pink-200); margin-top: 4px; font-style: italic; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 24px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  user-select: none;
}
.lightbox__nav:hover { background: rgba(255,255,255,.3); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

/* Admin gallery grid — thumbnails with hover actions */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.admin-gallery-tile {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pink-100);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.admin-gallery-tile__img {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink-100), var(--lav-200));
  overflow: hidden;
}
.admin-gallery-tile__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.admin-gallery-tile__featured {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--pink-500);
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.admin-gallery-tile__inactive {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(58, 39, 48, .8);
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.admin-gallery-tile__body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-gallery-tile__cat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lav-500);
}
.admin-gallery-tile__title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-900);
  font-size: 14px;
  line-height: 1.3;
}
.admin-gallery-tile__actions {
  padding: 0 12px 12px;
  display: flex;
  gap: 6px;
}
.admin-gallery-tile__actions .btn {
  flex: 1;
  padding: 6px 10px;
  font-size: 10px;
}
.admin-gallery-tile__actions form { flex: 1; display: flex; }
.admin-gallery-tile__actions form .btn { width: 100%; }

/* ============================================================
   HELLO — easter egg contact landing page (/hello)
   ============================================================ */

.hello-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cream-50) 0%, var(--pink-100) 45%, var(--lav-200) 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  color: var(--ink-700);
  position: relative;
  overflow-x: hidden;
}
.hello-body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, var(--pink-200) 0, var(--pink-200) 4px, transparent 5px),
    radial-gradient(circle at 80% 30%, var(--lav-300) 0, var(--lav-300) 3px, transparent 4px),
    radial-gradient(circle at 30% 78%, var(--sage-300) 0, var(--sage-300) 4px, transparent 5px),
    radial-gradient(circle at 88% 78%, var(--pink-300) 0, var(--pink-300) 3px, transparent 4px);
  background-size: 600px 600px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hello-sprinkles {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
}
.hello-sprinkles span {
  position: absolute;
  display: block;
  width: 7px; height: 12px;
  border-radius: 3px;
  opacity: 0;
  animation: hello-sprinkle 8s linear infinite;
}
.hello-sprinkles span:nth-child(1)  { left:  6%; background: var(--pink-400);  animation-delay: 0s;   animation-duration: 9s; }
.hello-sprinkles span:nth-child(2)  { left: 14%; background: var(--lav-400);   animation-delay: 1.4s; animation-duration: 11s; }
.hello-sprinkles span:nth-child(3)  { left: 23%; background: var(--sage-400);  animation-delay: 3s;   animation-duration: 10s; }
.hello-sprinkles span:nth-child(4)  { left: 32%; background: var(--pink-300);  animation-delay: 0.6s; animation-duration: 8s; }
.hello-sprinkles span:nth-child(5)  { left: 41%; background: var(--lav-300);   animation-delay: 4.2s; animation-duration: 12s; }
.hello-sprinkles span:nth-child(6)  { left: 50%; background: var(--sage-300);  animation-delay: 2s;   animation-duration: 10s; }
.hello-sprinkles span:nth-child(7)  { left: 59%; background: var(--pink-400);  animation-delay: 3.7s; animation-duration: 9s; }
.hello-sprinkles span:nth-child(8)  { left: 68%; background: var(--lav-400);   animation-delay: 1s;   animation-duration: 11s; }
.hello-sprinkles span:nth-child(9)  { left: 77%; background: var(--sage-400);  animation-delay: 5s;   animation-duration: 10s; }
.hello-sprinkles span:nth-child(10) { left: 85%; background: var(--pink-300);  animation-delay: 2.4s; animation-duration: 9s; }
.hello-sprinkles span:nth-child(11) { left: 92%; background: var(--lav-300);   animation-delay: 0.2s; animation-duration: 12s; }
.hello-sprinkles span:nth-child(12) { left: 96%; background: var(--sage-300);  animation-delay: 3.4s; animation-duration: 10s; }

@keyframes hello-sprinkle {
  0%   { transform: translateY(-30px) rotate(0deg);    opacity: 0; }
  8%   { opacity: .7; }
  92%  { opacity: .7; }
  100% { transform: translateY(110vh) rotate(720deg);  opacity: 0; }
}

.hello-shell {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.hello-card {
  background: rgba(255, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 0 26px 36px;
  box-shadow: 0 28px 60px -28px rgba(220, 138, 160, .55);
  border: 1px solid rgba(243, 200, 212, .55);
  position: relative;
  overflow: hidden;
  text-align: center;
  animation: hello-pop .7s cubic-bezier(.2, .9, .3, 1.1) both;
}
.hello-card::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1.5px dashed var(--pink-200);
  border-radius: 22px;
  pointer-events: none;
  opacity: 0.55;
}

@keyframes hello-pop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hello-ribbon {
  position: relative;
  margin: 0 -26px 8px;
  padding: 12px 16px 14px;
  background: linear-gradient(135deg, var(--sage-300), var(--sage-400));
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .15em;
  font-size: 11px;
  text-transform: uppercase;
}
.hello-ribbon::before, .hello-ribbon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 0; height: 0;
  border-style: solid;
}
.hello-ribbon::before {
  left: 0;
  border-width: 0 12px 10px 0;
  border-color: transparent var(--sage-600) transparent transparent;
}
.hello-ribbon::after {
  right: 0;
  border-width: 10px 12px 0 0;
  border-color: var(--sage-600) transparent transparent transparent;
}

.hello-logo {
  width: 130px;
  margin: 22px auto 6px;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(220, 138, 160, .35));
}

.hello-greeting {
  margin: 12px 0 6px;
  line-height: 1;
}
.hello-greeting .script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--pink-500);
  font-size: 56px;
  line-height: 0.95;
}
.hello-greeting .line2 {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  color: var(--ink-900);
  font-size: 22px;
  margin-top: 6px;
}

.hello-lede {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-500);
  margin: 18px auto 22px;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

.hello-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 22px;
  height: 12px;
}
.hello-rule::before, .hello-rule::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 80px;
  background: linear-gradient(to right, transparent, var(--pink-300), transparent);
}
.hello-rule::after { background: linear-gradient(to right, var(--pink-300), transparent); }
.hello-rule::before { background: linear-gradient(to left, var(--pink-300), transparent); }

.hello-contact {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  border: 1px solid var(--pink-100);
  box-shadow: 0 8px 22px -14px rgba(74, 57, 66, .25);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.hello-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-900);
  margin: 0;
}
.hello-title {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lav-500);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 2px 0 16px;
}

.hello-rows {
  display: flex; flex-direction: column; gap: 4px;
}
.hello-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-700);
  transition: background .2s ease, transform .15s ease;
  text-align: left;
}
.hello-row:hover {
  background: var(--pink-50);
  transform: translateX(2px);
  color: var(--ink-700);
}
.hello-row + .hello-row {
  border-top: 1px dashed var(--pink-100);
}

.hello-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-200), var(--lav-200));
  color: var(--pink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hello-icon svg { width: 18px; height: 18px; }

.hello-row-text { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.hello-row-label {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 2px;
}
.hello-row-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hello-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 22px -10px rgba(220, 138, 160, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hello-save:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(220, 138, 160, .65);
}
.hello-save svg { width: 16px; height: 16px; }

.hello-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--cream-100);
  border: 1.5px dashed var(--pink-300);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink-700);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  transition: background .2s, transform .15s;
}
.hello-cta:hover {
  background: var(--pink-100);
  transform: translateY(-1px);
  color: var(--pink-700);
}
.hello-cta-arrow {
  font-size: 18px;
  color: var(--pink-500);
}

.hello-signoff {
  text-align: center;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.hello-signoff .script {
  font-family: var(--font-script);
  color: var(--pink-500);
  font-size: 38px;
  line-height: 1;
}

.hello-foot {
  text-align: center;
  font-size: 11px;
  color: var(--ink-500);
  margin: 22px 0 0;
  letter-spacing: .03em;
}

/* ============================================================
   CARD — QR display page (/card) for in-person presenting
   ============================================================ */

.card-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(165deg, var(--cream-50) 0%, var(--pink-100) 50%, var(--lav-200) 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  -webkit-tap-highlight-color: transparent;
}

.card-shell {
  width: 100%;
  max-width: 420px;
}

.card-page {
  background: #fff;
  border-radius: 28px;
  padding: 26px 24px 24px;
  box-shadow: 0 30px 60px -28px rgba(220, 138, 160, .55);
  border: 1px solid var(--pink-200);
  position: relative;
  overflow: hidden;
  text-align: center;
  animation: hello-pop .55s cubic-bezier(.2, .9, .3, 1.1) both;
}
.card-page::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1.5px dashed var(--pink-200);
  border-radius: 22px;
  pointer-events: none;
  opacity: 0.55;
}

.card-header {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}
.card-logo { width: 56px; height: auto; filter: drop-shadow(0 8px 14px rgba(220,138,160,.3)); }
.card-brand { display: flex; flex-direction: column; line-height: 1; align-items: flex-start; }
.card-brand .script {
  font-family: var(--font-script);
  font-size: 30px;
  color: var(--pink-500);
}
.card-brand .small {
  font-family: var(--font-display);
  letter-spacing: .35em;
  font-size: 10px;
  color: var(--lav-400);
  margin-top: 3px;
}

.card-tag {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--sage-600);
  margin: 14px 0 4px;
}

.card-title {
  margin: 6px 0 18px;
  line-height: 1;
}
.card-title .script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--pink-500);
  font-size: 48px;
  line-height: 0.95;
}
.card-title .small {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--lav-500);
  font-size: 16px;
  letter-spacing: .04em;
  margin-top: 2px;
}

/* QR code holder — generous margin so phones can scan reliably */
.card-qr-wrap {
  position: relative;
  margin: 4px auto 18px;
  padding: 22px;
  background: #fffaf6;
  border-radius: 22px;
  width: fit-content;
  box-shadow: inset 0 0 0 1px var(--pink-200);
}
.card-qr {
  width: 240px;
  height: 240px;
  position: relative;
  z-index: 1;
}
.card-qr svg { width: 100%; height: 100%; display: block; }

/* decorative corner accents */
.card-qr-corners .c {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--pink-400);
  border-radius: 3px;
}
.card-qr-corners .c-tl { top: 6px;    left: 6px;    border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.card-qr-corners .c-tr { top: 6px;    right: 6px;   border-left: none;  border-bottom: none; border-top-right-radius: 8px; }
.card-qr-corners .c-bl { bottom: 6px; left: 6px;    border-right: none; border-top: none;    border-bottom-left-radius: 8px; }
.card-qr-corners .c-br { bottom: 6px; right: 6px;   border-left: none;  border-top: none;    border-bottom-right-radius: 8px; }

.card-hint {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0 auto 8px;
  max-width: 280px;
  line-height: 1.5;
}

.card-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 16px auto 12px; color: var(--pink-300);
}
.card-divider::before, .card-divider::after {
  content: ''; width: 50px; height: 1px;
  background: linear-gradient(to right, transparent, var(--pink-300), transparent);
}
.card-divider svg { width: 12px; height: 12px; }

.card-fallback {
  font-size: 13px;
  color: var(--ink-500);
  margin: 0 0 14px;
}
.card-fallback a {
  color: var(--pink-500);
  font-weight: 600;
  word-break: break-all;
}

.card-foot {
  font-size: 10px;
  color: var(--ink-300);
  letter-spacing: .04em;
  margin: 12px 0 0;
}

@media (max-width: 380px) {
  .card-qr { width: 200px; height: 200px; }
  .card-title .script { font-size: 40px; }
  .hello-greeting .script { font-size: 48px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero__inner,
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side {
    border-right: none; border-bottom: 1px dashed var(--pink-300);
    padding: 16px;
  }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .admin-main { padding: 24px 20px; }
  .nav__inner { padding: 12px 18px; gap: 14px; }
  .nav__brand-text .script { font-size: 22px; }
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 13px; }
}

@media (max-width: 600px) {
  section { padding: 56px 20px; }
  .form-shell { padding: 26px 22px; }
  .stats { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 50px 1fr; row-gap: 10px; }
  .picker__price, .picker__qty { grid-column: 2; }
}
