/* ============================================================
   Bake Cook & Create by Allie C.
   Shared Stylesheet — styles.css
   Covers: order.html, pricing.html, reviews.html, thank-you.html
   Font import lives in each HTML <head>:
   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap" rel="stylesheet">
   ============================================================ */


/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* colours */
  --bg:           #faf7f2;
  --surface:      #fff;
  --parchment:    #f3ede1;
  --border:       #e4d9c8;
  --border-focus: #b5834a;
  --brown-dark:   #3d2b1a;
  --brown-mid:    #7a4f2d;
  --caramel:      #b5834a;
  --caramel-soft: #d4a96a;
  --rose:         #c4806e;
  --sage:         #6e9478;
  --muted:        #9a8472;
  --text:         #2a1f14;
  --star:         #e8a020;
  --star-empty:   #e4d9c8;
  /* radii */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;
  /* shadows */
  --shadow-card:  0 4px 24px rgba(61,43,26,.09), 0 1px 4px rgba(61,43,26,.06);
  --shadow-hover: 0 12px 40px rgba(61,43,26,.15), 0 2px 8px rgba(61,43,26,.07);
  /* transition */
  --t: .28s cubic-bezier(.4,0,.2,1);
}


/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* grain texture overlay — applied to every page */
body::before {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 0; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }

/* ANIMATIONS */
.hero-characters {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 1.5rem; margin-top: 2.5rem; position: relative; z-index: 1;
  flex-wrap: wrap;
}
.char {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  animation: bobble 2.4s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.12));
}
.char:nth-child(2) { animation-delay: .3s; }
.char:nth-child(3) { animation-delay: .6s; }
.char:nth-child(4) { animation-delay: .9s; }
.char:nth-child(5) { animation-delay: 1.2s; }

@keyframes bobble {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
/* default page width — individual pages may override max-width inline */
.page {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
  padding: 72px 24px 120px;
}
/* pricing page uses wider max-width: 960px — set via inline style or override class */
.page--wide  { max-width: 960px; }
/* reviews page uses narrower: 680px */
.page--narrow { max-width: 680px; }


/* ── PROGRESS BAR (order form & reviews) ───────────────────── */
#progressBar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 200; background: var(--border);
}
#progressFill {
  height: 100%;
  background: linear-gradient(90deg, var(--caramel), var(--rose), var(--caramel-soft));
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* decorative top bar (thank-you page) */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--caramel), var(--rose), var(--caramel-soft));
}


/* ── SITE HEADER ────────────────────────────────────────────── */
.site-header { text-align: center; margin-bottom: 52px; animation: riseIn .7s ease both; }

.brand-eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--caramel); font-weight: 500; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.brand-eyebrow::before, .brand-eyebrow::after {
  content: ''; display: block; height: 1px; width: 40px; background: var(--caramel-soft);
}

.site-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--brown-dark); line-height: 1.1; margin-bottom: 14px;
}
.site-header h1 em { font-style: italic; color: var(--caramel); }

.site-header p {
  font-size: 15px; color: var(--muted); font-weight: 300;
  line-height: 1.65; max-width: 480px; margin: 0 auto;
}


/* ── STEP DOTS (order form & reviews) ──────────────────────── */
.step-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-bottom: 44px; }
.step-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: all var(--t); }
.step-dot.active { background: var(--caramel); width: 22px; border-radius: 4px; }
.step-dot.done   { background: var(--caramel-soft); }


/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 42px 44px; margin-bottom: 20px;
  border: 1px solid rgba(228,217,200,.7); animation: riseIn .5s ease both;
}
@media(max-width:560px) { .card { padding: 30px 22px; } }

.card-eyebrow {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--caramel); font-weight: 600; margin-bottom: 8px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; color: var(--brown-dark); margin-bottom: 6px;
}
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 30px; }


/* ── FORM FIELDS ────────────────────────────────────────────── */
.field           { margin-bottom: 22px; }
.field-row       { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
@media(max-width:520px) { .field-row { grid-template-columns: 1fr; } }

.field label     { display: block; font-size: 12.5px; font-weight: 500; color: var(--brown-mid); margin-bottom: 7px; letter-spacing: .03em; }
.field .hint     { font-size: 12px; color: var(--muted); font-weight: 300; margin-left: 4px; }

input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif; font-size: 15px;
  color: var(--text); background: var(--parchment);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none; appearance: none; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(181,131,74,.13);
  background: #fff;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b5834a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px; cursor: pointer;
}
textarea { resize: vertical; min-height: 100px; }

/* validation */
.field-error     { font-size: 12px; color: #c0392b; margin-top: 6px; display: none; }
.field-error.visible { display: block; }
input.invalid, select.invalid { border-color: #c0392b !important; }


/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-row { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 30px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 36px; border-radius: 100px; border: none;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer;
  background: linear-gradient(135deg, var(--caramel), var(--rose));
  color: #fff; box-shadow: 0 4px 18px rgba(181,131,74,.38); transition: all var(--t);
}
.btn-primary:hover    { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(181,131,74,.48); }
.btn-primary:disabled { opacity: .6; pointer-events: none; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 14px 26px; border-radius: 100px;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 400; cursor: pointer;
  background: transparent; border: 1.5px solid var(--border); color: var(--muted);
  transition: all var(--t);
}
.btn-secondary:hover { border-color: var(--caramel); color: var(--caramel); }

/* order / CTA button used on pricing page */
.btn-order {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 38px; border-radius: 100px; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500;
  background: linear-gradient(135deg, var(--caramel), var(--rose));
  color: #fff; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(181,131,74,.45); transition: all var(--t); flex-shrink: 0;
}
.btn-order:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(181,131,74,.55); }

/* Stripe pay button */
.btn-stripe {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 100px; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600;
  background: #635bff; color: #fff; text-decoration: none;
  box-shadow: 0 4px 24px rgba(99,91,255,.35); transition: all var(--t);
  width: 100%; justify-content: center;
}
.btn-stripe:hover             { background: #5146e8; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,91,255,.45); }
.btn-stripe:disabled,
.btn-stripe.loading           { opacity: .7; pointer-events: none; }
.stripe-secure {
  font-size: 11.5px; color: var(--muted); margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}


/* ── DIVIDER ────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 26px 0; }


/* ── SECTION LABEL ──────────────────────────────────────────── */
.section-label {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--caramel); font-weight: 600; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }


/* ── NOTICE / ALERT BANNERS ─────────────────────────────────── */
.notice,
.gift-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(110,148,120,.08); border: 1px solid rgba(110,148,120,.25);
  border-radius: var(--radius-sm); padding: 13px 16px;
  font-size: 13px; color: var(--sage); line-height: 1.6; margin-bottom: 22px;
}

.rotation-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(181,131,74,.07); border: 1.5px solid rgba(181,131,74,.2);
  border-radius: var(--radius-md); padding: 18px 22px; margin-bottom: 52px;
  font-size: 13.5px; color: var(--brown-mid); line-height: 1.6;
  animation: riseIn .6s .2s ease both;
}
.rotation-notice strong { color: var(--brown-dark); }
.rotation-notice a      { color: var(--caramel); text-decoration: none; font-weight: 500; }
.rotation-notice a:hover { text-decoration: underline; }


/* ── POLICY STRIP ───────────────────────────────────────────── */
.policy-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 44px; animation: riseIn .6s .1s ease both; }
@media(max-width:600px) { .policy-strip { grid-template-columns: 1fr; } }

.policy-tile { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 22px 24px; box-shadow: var(--shadow-card); }
.policy-tile-icon  { font-size: 24px; margin-bottom: 10px; display: block; }
.policy-tile-label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); font-weight: 600; margin-bottom: 7px; }
.policy-tile-text  { font-size: 13px; color: var(--muted); line-height: 1.65; }
.policy-tile-text strong { color: var(--brown-mid); }


/* ── NOTES GRID ─────────────────────────────────────────────── */
.notes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; animation: riseIn .6s .35s ease both; }
@media(max-width:560px) { .notes-grid { grid-template-columns: 1fr; } }

.note-tile { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 22px 24px; box-shadow: var(--shadow-card); }
.note-tile-icon  { font-size: 22px; margin-bottom: 10px; display: block; }
.note-tile-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--brown-dark); margin-bottom: 6px; }
.note-tile-text  { font-size: 13px; color: var(--muted); line-height: 1.65; }


/* ── CUSTOM BANNER (pricing page) ───────────────────────────── */
.custom-banner {
  background: linear-gradient(135deg, var(--brown-dark), #5a3c22);
  border-radius: var(--radius-lg); padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; margin-bottom: 52px; flex-wrap: wrap;
  animation: riseIn .6s .3s ease both;
}
@media(max-width:580px) { .custom-banner { padding: 32px 28px; } }
.custom-banner-text h3     { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #f0e8dc; margin-bottom: 10px; line-height: 1.2; }
.custom-banner-text h3 em  { font-style: italic; color: var(--caramel-soft); }
.custom-banner-text p      { font-size: 14px; color: #8a7060; line-height: 1.7; max-width: 440px; }


/* ── PRICING CARDS ──────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 56px; }
@media(max-width:660px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-card);
  overflow: hidden; transition: all var(--t);
  animation: riseIn .5s ease both; display: flex; flex-direction: column;
}
.pricing-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--caramel-soft); }

.card-header {
  padding: 24px 26px 20px; border-bottom: 1px solid var(--border);
  background: var(--parchment); display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
}
.card-emoji    { font-size: 32px; display: block; margin-bottom: 10px; }
.card-name     { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--brown-dark); font-weight: 600; margin-bottom: 3px; line-height: 1.2; }
.card-frosting { font-size: 12px; color: var(--caramel); font-weight: 500; margin-bottom: 4px; }
.card-desc     { font-size: 12px; color: var(--muted); line-height: 1.5; }
.card-from     { text-align: right; flex-shrink: 0; }
.card-from-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); display: block; margin-bottom: 2px; }
.card-from-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--caramel); line-height: 1; }

/* featured shape tiles */
.featured-shapes       { padding: 16px 26px 0; }
.featured-shapes-label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); font-weight: 600; margin-bottom: 12px; }
.shape-tiles           { display: grid; gap: 8px; margin-bottom: 14px; }
.shape-tiles.cols-3    { grid-template-columns: repeat(3,1fr); }
.shape-tiles.cols-2    { grid-template-columns: repeat(2,1fr); }
.shape-tiles.cols-1    { grid-template-columns: 1fr; }
.shape-tile { background: var(--parchment); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; transition: all var(--t); }
.shape-tile:hover      { border-color: var(--caramel-soft); background: #fff; }
.shape-tile-icon       { font-size: 20px; display: block; margin-bottom: 5px; }
.shape-tile-name       { font-size: 11px; color: var(--brown-mid); font-weight: 500; line-height: 1.3; margin-bottom: 3px; }
.shape-tile-qty        { font-size: 10.5px; color: var(--muted); }
.shape-tile-price      { font-size: 13px; color: var(--caramel); font-weight: 600; margin-top: 4px; }

/* more shapes badge */
.more-shapes       { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 0 26px 16px; flex-wrap: wrap; }
.more-shapes-count { background: var(--parchment); border: 1px solid var(--border); border-radius: 100px; padding: 3px 10px; font-size: 11px; color: var(--brown-mid); font-weight: 500; white-space: nowrap; }

/* expand button */
.card-expand-btn {
  margin: 0 26px; padding: 11px 0; background: none;
  border: none; border-top: 1px solid var(--border);
  font-family: 'Jost', sans-serif; font-size: 12.5px; color: var(--caramel);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 6px; transition: all var(--t); font-weight: 500; width: calc(100% - 52px);
}
.card-expand-btn:hover     { color: var(--brown-mid); }
.card-expand-btn svg       { transition: transform var(--t); flex-shrink: 0; }
.card-expand-btn.open svg  { transform: rotate(180deg); }

/* expanded detail table */
.card-detail      { display: none; border-top: 1px solid var(--border); background: var(--parchment); }
.card-detail.open { display: block; animation: riseIn .3s ease both; }
.detail-table     { width: 100%; border-collapse: collapse; }
.detail-table thead th { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); padding: 10px 26px 8px; text-align: left; font-weight: 600; border-bottom: 1px solid var(--border); }
.detail-table thead th:last-child { text-align: right; }
.detail-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--t); }
.detail-table tbody tr:last-child { border-bottom: none; }
.detail-table tbody tr:hover { background: rgba(181,131,74,.04); }
.detail-table td  { padding: 10px 26px; font-size: 13px; color: var(--brown-mid); vertical-align: middle; }
.detail-table td:first-child { font-weight: 500; color: var(--brown-dark); }
.detail-table td:last-child  { text-align: right; font-weight: 600; color: var(--caramel); white-space: nowrap; }
.td-qty  { font-size: 11.5px; color: var(--muted); }
.td-size { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }
.full-size-badge  { font-size: 10px; background: rgba(181,131,74,.15); color: var(--caramel); border-radius: 100px; padding: 2px 8px; font-weight: 600; letter-spacing: .06em; vertical-align: middle; margin-left: 6px; }
.card-detail-note { padding: 10px 26px 14px; font-size: 12px; color: var(--muted); font-style: italic; }

/* simple body (soufflé / pancakes) */
.card-body-simple  { padding: 16px 26px; }
.simple-row        { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.simple-row:last-child { border-bottom: none; }
.simple-row-name   { color: var(--brown-mid); font-weight: 500; }
.simple-row-detail { font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.simple-row-price  { font-weight: 600; color: var(--caramel); }

/* premium badge */
.premium-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, rgba(181,131,74,.15), rgba(196,128,110,.15));
  border: 1px solid rgba(181,131,74,.3); border-radius: 100px;
  padding: 3px 10px; font-size: 10px; color: var(--caramel);
  font-weight: 600; letter-spacing: .08em; margin-top: 6px;
}


/* ── ORDER FORM — ITEM TILES ────────────────────────────────── */
.items-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
@media(max-width:520px) { .items-grid { grid-template-columns: 1fr 1fr; } }

.item-tile {
  border: 2px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 14px 16px; cursor: pointer; position: relative;
  transition: all var(--t); background: var(--parchment);
  text-align: center; user-select: none;
}
.item-tile:hover    { border-color: var(--caramel-soft); background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.item-tile.selected { border-color: var(--caramel); background: #fff; box-shadow: 0 0 0 3px rgba(181,131,74,.18), var(--shadow-card); }

.tile-check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.item-tile.selected .tile-check { background: var(--caramel); border-color: var(--caramel); }
.tile-check svg { display: none; }
.item-tile.selected .tile-check svg { display: block; }

.tile-emoji { font-size: 32px; margin-bottom: 10px; display: block; }
.tile-name  { font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--brown-dark); font-weight: 600; margin-bottom: 4px; }
.tile-desc  { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-bottom: 6px; }
.tile-price { font-size: 12.5px; color: var(--caramel); font-weight: 500; }


/* ── ORDER FORM — OPTIONS PANELS ────────────────────────────── */
.options-panel { border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--parchment); overflow: hidden; margin-bottom: 16px; animation: riseIn .35s ease both; }
.options-panel-header { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.6); }
.options-panel-header .panel-emoji { font-size: 20px; }
.options-panel-header strong { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--brown-dark); }
.options-panel-body { padding: 18px 20px; }
.options-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media(max-width:480px) { .options-grid { grid-template-columns: 1fr; } }


/* ── ORDER FORM — TIMESLOT PICKER ───────────────────────────── */
.timeslot-section-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel); font-weight: 600; margin-bottom: 12px; }
.timeslot-day-block  { margin-bottom: 24px; }
.timeslot-day-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.timeslot-day-name   { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--brown-dark); font-weight: 600; }
.timeslot-day-date   { font-size: 12px; color: var(--muted); background: var(--parchment); padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border); }
.timeslot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
@media(max-width:480px) { .timeslot-grid { grid-template-columns: 1fr 1fr; } }

.timeslot-tile { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 10px; cursor: pointer; text-align: center; transition: all var(--t); background: var(--parchment); user-select: none; position: relative; }
.timeslot-tile:hover:not(.full) { border-color: var(--caramel-soft); background: #fff; transform: translateY(-2px); }
.timeslot-tile.selected { border-color: var(--caramel); background: #fff; box-shadow: 0 0 0 3px rgba(181,131,74,.18); }
.timeslot-tile.full     { opacity: .45; cursor: not-allowed; background: #f5f0ea; }
.timeslot-time       { font-size: 14px; font-weight: 500; color: var(--brown-dark); margin-bottom: 3px; }
.timeslot-type       { font-size: 11px; color: var(--muted); }
.timeslot-full-badge { font-size: 10px; color: var(--rose); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.timeslot-error      { font-size: 12px; color: #c0392b; margin-top: 8px; display: none; }
.timeslot-error.visible { display: block; }

.timeslot-selected-display { background: rgba(181,131,74,.08); border: 1.5px solid rgba(181,131,74,.25); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 16px; font-size: 14px; color: var(--brown-mid); display: none; }
.timeslot-selected-display.visible { display: flex; align-items: center; gap: 10px; }
.timeslot-selected-display strong  { color: var(--brown-dark); }


/* ── ORDER FORM — SUMMARY ───────────────────────────────────── */
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-of-type { border-bottom: none; }
.summary-name    { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--brown-dark); }
.summary-details { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.summary-price   { font-size: 15px; color: var(--caramel); font-weight: 500; white-space: nowrap; }
.summary-timeslot { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 14px 16px; background: rgba(181,131,74,.07); border-radius: var(--radius-sm); border: 1px solid rgba(181,131,74,.2); font-size: 14px; color: var(--brown-mid); }
.summary-timeslot strong { color: var(--brown-dark); }
.summary-total   { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 0; }
.summary-total-label  { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.summary-total-amount { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--brown-dark); }

/* Stripe CTA card */
.stripe-cta { background: linear-gradient(135deg, rgba(99,91,255,.06), rgba(196,128,110,.06)); border: 1.5px solid rgba(99,91,255,.18); border-radius: var(--radius-md); padding: 22px 24px; margin-top: 24px; text-align: center; }
.stripe-cta p        { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.stripe-cta p strong { color: var(--brown-dark); }


/* ── REVIEWS — STAR RATING ──────────────────────────────────── */
.rating-section { margin-bottom: 32px; }
.rating-section-header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-md) var(--radius-md) 0 0; background: var(--parchment); border: 1.5px solid var(--border); border-bottom: none; }
.rating-section-icon { font-size: 20px; }
.rating-section-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--brown-dark); font-weight: 600; }
.rating-section-body { border: 1.5px solid var(--border); border-radius: 0 0 var(--radius-md) var(--radius-md); overflow: hidden; }

.rating-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); gap: 16px; transition: background var(--t); }
.rating-row:last-child { border-bottom: none; }
.rating-row:hover      { background: rgba(181,131,74,.03); }
.rating-row-name       { font-size: 13.5px; color: var(--brown-mid); flex: 1; min-width: 120px; }

.star-group { display: flex; gap: 3px; flex-direction: row-reverse; }
.star-group input[type=radio] { display: none; }
.star-group label { font-size: 26px; cursor: pointer; color: var(--star-empty); transition: color var(--t), transform var(--t); line-height: 1; }
.star-group label:hover,
.star-group label:hover ~ label,
.star-group input:checked ~ label { color: var(--star); }
.star-group label:hover            { transform: scale(1.2); }
.star-group input:checked + label  { transform: scale(1.15); }
.star-value-display { font-size: 11.5px; color: var(--muted); min-width: 56px; text-align: right; font-weight: 500; transition: color var(--t); }
.rating-error { font-size: 11.5px; color: #c0392b; padding: 6px 18px 10px; display: none; }
.rating-error.visible { display: block; }


/* ── REVIEWS — PRODUCT CHIPS ────────────────────────────────── */
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.product-chip  { position: relative; }
.product-chip input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.product-chip label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 100px; border: 1.5px solid var(--border); background: var(--parchment); font-size: 13px; color: var(--brown-mid); cursor: pointer; transition: all var(--t); }
.product-chip label:hover                { border-color: var(--caramel-soft); background: #fff; }
.product-chip input:checked + label     { border-color: var(--caramel); background: #fff; color: var(--caramel); box-shadow: 0 0 0 3px rgba(181,131,74,.15); font-weight: 500; }


/* ── REVIEWS — RECOMMEND TOGGLE ─────────────────────────────── */
.recommend-wrap { display: flex; gap: 10px; }
.recommend-opt  { position: relative; flex: 1; }
.recommend-opt input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.recommend-opt label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: var(--parchment); font-size: 14px; color: var(--brown-mid); cursor: pointer; transition: all var(--t); text-align: center; }
.recommend-opt label:hover                    { border-color: var(--caramel-soft); background: #fff; }
.recommend-opt.yes input:checked + label      { border-color: var(--sage);  color: var(--sage);  background: #fff; box-shadow: 0 0 0 3px rgba(110,148,120,.15); font-weight: 500; }
.recommend-opt.no  input:checked + label      { border-color: var(--rose);  color: var(--rose);  background: #fff; box-shadow: 0 0 0 3px rgba(196,128,110,.15); font-weight: 500; }


/* ── REVIEWS — PERMISSION CHECKBOX ─────────────────────────── */
.permission-wrap { background: var(--parchment); border-radius: var(--radius-md); border: 1.5px solid var(--border); padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; transition: all var(--t); }
.permission-wrap:hover { border-color: var(--caramel-soft); }
.permission-wrap input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--caramel); cursor: pointer; }
.permission-text       { font-size: 13.5px; color: var(--brown-mid); line-height: 1.6; }
.permission-text strong { color: var(--brown-dark); font-weight: 500; }


/* ── REVIEWS — PHOTO UPLOAD ─────────────────────────────────── */
.photo-upload-area { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 28px 24px; text-align: center; cursor: pointer; transition: all var(--t); background: var(--parchment); position: relative; }
.photo-upload-area:hover        { border-color: var(--caramel-soft); background: #fff; }
.photo-upload-area input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon    { font-size: 28px; margin-bottom: 8px; display: block; }
.upload-text    { font-size: 14px; color: var(--brown-mid); margin-bottom: 3px; font-weight: 500; }
.upload-hint    { font-size: 12px; color: var(--muted); }
.photo-preview  { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-thumb    { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; border: 1.5px solid var(--border); animation: pop .3s cubic-bezier(.34,1.56,.64,1) both; }


/* ── REVIEWS — SUMMARY BLOCKS ───────────────────────────────── */
.summary-block         { background: var(--parchment); border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; margin-bottom: 14px; }
.summary-block-header  { padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.summary-block-header span { font-size: 18px; }
.summary-block-header h4   { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--brown-dark); }
.summary-block-body    { padding: 16px 20px; }
.summary-star-row      { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.summary-star-row:last-child { border-bottom: none; }
.summary-star-name     { color: var(--muted); }
.summary-stars         { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.summary-avg           { font-size: 11px; color: var(--muted); margin-left: 6px; }
.summary-recommend     { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 7px 14px; border-radius: 100px; font-size: 13px; font-weight: 500; }
.summary-recommend.yes { background: rgba(110,148,120,.12); color: var(--sage); border: 1px solid rgba(110,148,120,.25); }
.summary-recommend.no  { background: rgba(196,128,110,.12); color: var(--rose); border: 1px solid rgba(196,128,110,.25); }


/* ── SUCCESS / CONFIRMATION SCREENS ────────────────────────── */
.success-wrap { text-align: center; padding: 52px 20px 44px; }
.success-icon { font-size: 62px; display: block; margin-bottom: 22px; animation: pop .5s cubic-bezier(.34,1.56,.64,1) both; }
.success-wrap h2       { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--brown-dark); margin-bottom: 14px; }
.success-wrap p        { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.success-wrap strong   { color: var(--brown-mid); }
.success-timeslot      { display: inline-block; background: rgba(110,148,120,.12); border: 1px solid rgba(110,148,120,.3); border-radius: var(--radius-sm); padding: 10px 20px; font-size: 14px; color: var(--sage); margin-top: 16px; }

.back-link       { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color var(--t); }
.back-link:hover { color: var(--caramel); }
.back-link svg   { transition: transform var(--t); }
.back-link:hover svg { transform: translateX(-3px); }


/* ── THANK-YOU PAGE SPECIFIC ────────────────────────────────── */
body.thankyou-body {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px 24px;
}
.icon-wrap {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(181,131,74,.12), rgba(196,128,110,.12));
  border: 1.5px solid rgba(181,131,74,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  animation: pop .6s cubic-bezier(.34,1.56,.64,1) .3s both;
}
.icon-wrap span { font-size: 40px; }

.subtitle        { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 300; margin-bottom: 36px; }
.subtitle strong { color: var(--brown-mid); font-weight: 500; }

.next-steps       { background: var(--parchment); border-radius: 14px; padding: 24px 28px; margin-bottom: 36px; border: 1px solid var(--border); text-align: left; }
.next-steps-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel); font-weight: 600; margin-bottom: 16px; }
.next-step        { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.next-step:last-child { margin-bottom: 0; }
.step-num         { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--caramel), var(--rose)); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.step-text        { font-size: 14px; color: var(--brown-mid); line-height: 1.5; }
.step-text strong { color: var(--brown-dark); }

.receipt-note { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(110,148,120,.1); border: 1px solid rgba(110,148,120,.28); border-radius: var(--radius-sm); padding: 12px 18px; font-size: 13px; color: var(--sage); margin-bottom: 32px; line-height: 1.5; }

/* confetti (thank-you page) */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.confetti span { position: absolute; width: 8px; height: 8px; border-radius: 2px; animation: fall linear infinite; opacity: 0; }
.confetti span:nth-child(1)  { left:  8%; background: var(--caramel);     animation-duration: 4.2s; animation-delay:  0s;   top: -10px; }
.confetti span:nth-child(2)  { left: 18%; background: var(--rose);         animation-duration: 3.8s; animation-delay: .4s;   top: -10px; }
.confetti span:nth-child(3)  { left: 30%; background: var(--caramel-soft); animation-duration: 4.6s; animation-delay: .2s;   top: -10px; }
.confetti span:nth-child(4)  { left: 42%; background: var(--sage);         animation-duration: 3.5s; animation-delay: .7s;   top: -10px; }
.confetti span:nth-child(5)  { left: 55%; background: var(--caramel);      animation-duration: 4.9s; animation-delay: .1s;   top: -10px; }
.confetti span:nth-child(6)  { left: 67%; background: var(--rose);         animation-duration: 3.7s; animation-delay: .5s;   top: -10px; }
.confetti span:nth-child(7)  { left: 78%; background: var(--caramel-soft); animation-duration: 4.3s; animation-delay: .3s;   top: -10px; }
.confetti span:nth-child(8)  { left: 88%; background: var(--sage);         animation-duration: 4.0s; animation-delay: .6s;   top: -10px; }
.confetti span:nth-child(9)  { left: 13%; background: var(--rose);         animation-duration: 5.1s; animation-delay: .9s;   top: -10px; border-radius: 50%; }
.confetti span:nth-child(10) { left: 62%; background: var(--caramel);      animation-duration: 3.9s; animation-delay: 1.1s;  top: -10px; border-radius: 50%; }
.confetti span:nth-child(11) { left: 35%; background: var(--caramel-soft); animation-duration: 4.7s; animation-delay: .8s;   top: -10px; transform: rotate(45deg); }
.confetti span:nth-child(12) { left: 92%; background: var(--rose);         animation-duration: 4.4s; animation-delay: 1.3s;  top: -10px; }


/* ── ADMIN PANEL (index.html only) ──────────────────────────── */
#adminToggle { position: fixed; bottom: 28px; right: 28px; z-index: 500; width: 52px; height: 52px; border-radius: 50%; background: var(--brown-dark); color: #f0e8dc; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(61,43,26,.45); transition: all var(--t); font-size: 22px; }
#adminToggle:hover { transform: scale(1.1) rotate(20deg); }

#adminPanel { position: fixed; bottom: 0; right: 0; width: 460px; max-width: 100vw; max-height: 92vh; overflow-y: auto; background: #2a1f14; color: #f0e8dc; border-radius: 22px 22px 0 0; box-shadow: 0 -8px 48px rgba(61,43,26,.55); z-index: 400; padding: 32px 30px 52px; transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .38s; transform: translateY(100%); opacity: 0; pointer-events: none; }
#adminPanel.open { transform: translateY(0); opacity: 1; pointer-events: all; }

.admin-drag-handle { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); margin: 0 auto 24px; }
.admin-header      { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.admin-header h3   { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #f0e8dc; }
.admin-close       { background: rgba(255,255,255,.08); border: none; color: #c9b89a; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.admin-close:hover { background: rgba(255,255,255,.16); }
.admin-subtitle    { font-size: 13px; color: #8a7060; margin-bottom: 24px; line-height: 1.6; }

.admin-section-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-soft); font-weight: 600; margin-bottom: 12px; margin-top: 24px; }
.admin-slot          { background: rgba(255,255,255,.05); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.07); }
.admin-slot-label    { font-size: 11.5px; color: #8a7060; margin-bottom: 10px; letter-spacing: .05em; }

.admin-select,
.admin-text-input { width: 100%; padding: 11px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 9px; color: #f0e8dc; font-family: 'Jost', sans-serif; font-size: 14px; cursor: pointer; appearance: none; outline: none; transition: border-color var(--t); }
.admin-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4a96a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.admin-select:focus,
.admin-text-input:focus     { border-color: var(--caramel-soft); }
.admin-select option,
.admin-text-input           { background: #2a1f14; }
.admin-text-input::placeholder { color: #6a5848; }

.admin-apply { width: 100%; padding: 15px; border-radius: 12px; border: none; background: linear-gradient(135deg, var(--caramel), var(--rose)); color: #fff; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; margin-top: 24px; transition: all var(--t); }
.admin-apply:hover { opacity: .88; transform: translateY(-1px); }

.admin-preview      { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: 12px; color: #6a5848; line-height: 1.7; }
.admin-preview span { color: var(--caramel-soft); }

.admin-timeslot-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.admin-timeslot-row input[type=time] { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 9px; color: #f0e8dc; font-family: 'Jost', sans-serif; font-size: 13px; padding: 9px 12px; outline: none; width: 100%; }
.admin-timeslot-row input[type=time]:focus { border-color: var(--caramel-soft); }
.admin-timeslot-remove { background: rgba(196,128,110,.2); border: none; color: #c4806e; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--t); }
.admin-timeslot-remove:hover { background: rgba(196,128,110,.4); }
.admin-add-slot { background: rgba(255,255,255,.06); border: 1.5px dashed rgba(255,255,255,.15); border-radius: 9px; color: #8a7060; font-family: 'Jost', sans-serif; font-size: 13px; padding: 9px; width: 100%; cursor: pointer; transition: all var(--t); margin-top: 4px; }
.admin-add-slot:hover { background: rgba(255,255,255,.1); color: var(--caramel-soft); }
.admin-full-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-top: 10px; }
.admin-full-toggle input[type=checkbox] { width: 14px; height: 14px; cursor: pointer; accent-color: var(--caramel-soft); }
.admin-full-toggle span { font-size: 12px; color: #8a7060; }

/* admin password overlay */
#adminOverlay { position: fixed; inset: 0; z-index: 600; background: rgba(42,31,20,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
#adminOverlay.visible { opacity: 1; pointer-events: all; }
#adminOverlayBox { background: #2a1f14; border-radius: 22px; padding: 40px 36px; width: 100%; max-width: 360px; box-shadow: 0 24px 64px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); text-align: center; transform: translateY(16px) scale(.97); transition: transform .28s cubic-bezier(.34,1.56,.64,1); }
#adminOverlay.visible #adminOverlayBox { transform: translateY(0) scale(1); }
#adminOverlayIcon  { font-size: 36px; margin-bottom: 16px; animation: pop .4s cubic-bezier(.34,1.56,.64,1) both; }
#adminOverlayTitle { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #f0e8dc; margin-bottom: 8px; }
#adminOverlaySubtitle { font-size: 13px; color: #8a7060; margin-bottom: 24px; line-height: 1.5; }
#adminPasswordInput { width: 100%; padding: 13px 16px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px; color: #f0e8dc; font-family: 'Jost', sans-serif; font-size: 15px; outline: none; text-align: center; letter-spacing: .15em; transition: border-color .2s; margin-bottom: 10px; }
#adminPasswordInput:focus       { border-color: var(--caramel-soft); }
#adminPasswordInput.shake       { animation: shake .4s cubic-bezier(.36,.07,.19,.97) both; border-color: var(--rose) !important; }
#adminPasswordError             { font-size: 12px; color: var(--rose); margin-bottom: 20px; min-height: 18px; display: none; }
#adminPasswordError.visible     { display: block; }
#adminOverlayButtons            { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#adminOverlayButtons button     { padding: 13px; border-radius: 100px; border: none; font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
#adminOverlayButtons button:first-child { background: rgba(255,255,255,.07); color: #8a7060; border: 1.5px solid rgba(255,255,255,.1); }
#adminOverlayButtons button:first-child:hover { background: rgba(255,255,255,.12); color: #c9b89a; }
#adminOverlayButtons button:last-child  { background: linear-gradient(135deg, var(--caramel), var(--rose)); color: #fff; box-shadow: 0 4px 14px rgba(181,131,74,.35); }
#adminOverlayButtons button:last-child:hover { opacity: .88; transform: translateY(-1px); }


/* ── SPINNER ────────────────────────────────────────────────── */
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }


/* ── KEYFRAME ANIMATIONS ────────────────────────────────────── */
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop    { from { opacity: 0; transform: scale(.4);         } to { opacity: 1; transform: scale(1);    } }
@keyframes spin   { to   { transform: rotate(360deg); } }
@keyframes fall   { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(105vh) rotate(720deg); opacity: 0; } }
@keyframes shake  { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
