/* Customer pages on reminders.dopamineflowers.com: delivery tracking, custom request, custom
   order, tips. One brand look, phone first: cream paper, forest ink, pink for the one main
   action, DF Comfortaa titles and DF Assistant text. Staff pages never load this file; the
   server leaves out the staff polish sheets on a <body class="cx-page"> (injectDopamineHtml). */
@font-face {
  font-family: "DF Comfortaa";
  src: url("/public/df-comfortaa-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "DF Assistant";
  src: url("/public/df-assistant-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cx-forest: #123728;
  --cx-forest-2: #1d4a37;
  --cx-ink: #123728;
  --cx-soft: #3f5248;
  --cx-muted: #5f6f66;
  --cx-faint: #8f9a94;
  --cx-pink: #ff4fa3;
  --cx-pink-2: #f03e93;
  --cx-berry: #b81d68;
  --cx-blush: #f6a3c2;
  --cx-cream: #fff4e2;
  --cx-paper: #fffdf8;
  --cx-tint: #fff1f7;
  --cx-sage: #eef4ee;
  --cx-palm: #7a8f4a;
  --cx-line: rgba(18, 55, 40, .11);
  --cx-line-strong: rgba(18, 55, 40, .2);
  --cx-danger: #b4232f;
  --cx-shadow: 0 1px 2px rgba(18, 55, 40, .05), 0 22px 50px -22px rgba(18, 55, 40, .32);
  --cx-shadow-soft: 0 1px 2px rgba(18, 55, 40, .04), 0 12px 30px -16px rgba(18, 55, 40, .22);
  --cx-shadow-pink: 0 16px 30px -12px rgba(240, 62, 147, .6);
  --cx-ring: 0 0 0 4px rgba(255, 79, 163, .16);
  --cx-radius: 28px;
  --cx-display: "DF Comfortaa", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --cx-body: "DF Assistant", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cx-ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--cx-cream);
}

body.cx-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cx-ink);
  font: 400 17px/1.45 var(--cx-body);
  background:
    radial-gradient(120% 520px at 108% -80px, rgba(255, 79, 163, .17), transparent 62%),
    radial-gradient(100% 460px at -12% 104%, rgba(122, 143, 74, .15), transparent 66%),
    linear-gradient(180deg, #fffaf2 0%, var(--cx-cream) 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.cx-page a { color: var(--cx-berry); text-underline-offset: 3px; }
.cx-page img { max-width: 100%; }
.cx-page :focus-visible { outline: 3px solid rgba(255, 79, 163, .45); outline-offset: 3px; }

/* ---- page frame ---------------------------------------------------------------------- */
.cx-wrap {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px max(30px, env(safe-area-inset-bottom));
}
.cx-top {
  display: flex;
  justify-content: center;
  padding: 6px 0 20px;
}
.cx-top a { display: block; border-radius: 12px; }
.cx-logo { display: block; width: auto; height: 38px; }

.cx-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  background: var(--cx-paper);
  box-shadow: var(--cx-shadow);
}
.cx-card + .cx-card { margin-top: 14px; }

.cx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 79, 163, .11);
  color: var(--cx-berry);
  font: 800 12px/1 var(--cx-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cx-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.cx-title {
  margin: 0;
  color: var(--cx-forest);
  font: 700 clamp(29px, 7.6vw, 42px)/1.1 var(--cx-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.cx-lede {
  margin: 12px 0 0;
  color: var(--cx-muted);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}
.cx-hero { padding: 4px 4px 22px; }

.cx-section-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--cx-forest);
  font: 700 20px/1.2 var(--cx-display);
  letter-spacing: -.01em;
}
.cx-section-title > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--cx-forest);
  color: #fff;
  font: 800 14px/1 var(--cx-body);
}
.cx-section + .cx-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--cx-line-strong);
}

/* ---- buttons --------------------------------------------------------------------------- */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--cx-forest);
  color: #fff;
  font: 800 17px/1.15 var(--cx-body);
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(18, 55, 40, .6);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}
.cx-page a.cx-btn { color: #fff; }
.cx-btn:hover { filter: brightness(1.06); }
.cx-btn:active { transform: scale(.98); }
.cx-btn:disabled { opacity: .6; cursor: default; transform: none; }
.cx-btn--pink {
  background: linear-gradient(135deg, #ff76bb 0%, var(--cx-pink) 46%, var(--cx-pink-2) 100%);
  box-shadow: var(--cx-shadow-pink);
}
.cx-btn--ghost,
.cx-page a.cx-btn--ghost {
  border: 1.5px solid var(--cx-line-strong);
  background: rgba(255, 255, 255, .7);
  color: var(--cx-forest);
  box-shadow: none;
}
.cx-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---- fields ------------------------------------------------------------------------------ */
.cx-fields { display: grid; gap: 16px; }
.cx-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cx-soft);
  font: 800 14px/1.3 var(--cx-body);
}
.cx-field > legend { margin-bottom: 8px; padding: 0; }
.cx-field > input:not([type="hidden"]),
.cx-field > select,
.cx-field > textarea,
.cx-field > .df-date-picker { display: block; margin-top: 8px !important; }
.cx-field em,
.cx-optional { color: var(--cx-faint); font-style: normal; font-weight: 600; }
.cx-field input:not([type="checkbox"]):not([type="radio"]),
.cx-field select,
.cx-field textarea {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--cx-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cx-ink);
  font: 500 17px/1.35 var(--cx-body);
  box-shadow: 0 1px 2px rgba(18, 55, 40, .04);
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cx-field textarea { min-height: 128px; resize: vertical; }
.cx-field select {
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23123728' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.cx-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.cx-field input::placeholder,
.cx-field textarea::placeholder { color: #9ba7a0; opacity: 1; }
.cx-field input:not([type="checkbox"]):not([type="radio"]):focus,
.cx-field select:focus,
.cx-field textarea:focus { border-color: var(--cx-pink); box-shadow: var(--cx-ring); }
.cx-grid-2 { display: grid; gap: 16px; }
@media (min-width: 560px) {
  .cx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Segmented choice (radio buttons that look like one pill row). */
.cx-segment {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid var(--cx-line);
  border-radius: 18px;
  background: #fff;
}
.cx-segment label { position: relative; display: block; cursor: pointer; }
.cx-segment input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cx-segment span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--cx-soft);
  font: 800 15px/1 var(--cx-body);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.cx-segment input:checked + span {
  background: var(--cx-forest);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(18, 55, 40, .7);
}
.cx-segment input:focus-visible + span { box-shadow: var(--cx-ring); }

/* Choice cards (a radio inside a big tappable card). */
.cx-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-choice { position: relative; display: block; min-width: 0; cursor: pointer; }
.cx-choice--wide { grid-column: 1 / -1; }
.cx-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cx-choice > span {
  position: relative;
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 14px 40px 14px 15px;
  border: 1.5px solid var(--cx-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.cx-choice > span::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--cx-line-strong);
  border-radius: 50%;
  background: #fff;
  transition: background .18s ease, border-color .18s ease;
}
.cx-choice strong { color: var(--cx-forest); font: 700 16px/1.2 var(--cx-display); }
.cx-choice small { color: var(--cx-soft); font: 700 15px/1.2 var(--cx-body); }
.cx-choice b { margin-top: 4px; color: var(--cx-muted); font: 800 13px/1.2 var(--cx-body); }
.cx-choice:active > span { transform: scale(.985); }
.cx-choice input:checked + span {
  border-color: var(--cx-forest);
  background: linear-gradient(180deg, #f6faf5, #fff);
  box-shadow: 0 0 0 1px var(--cx-forest), 0 12px 24px -16px rgba(18, 55, 40, .7);
}
.cx-choice input:checked + span::after {
  border-color: var(--cx-forest);
  background: var(--cx-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.cx-choice input:checked + span b { color: var(--cx-berry); }
.cx-choice input:focus-visible + span { box-shadow: var(--cx-ring); }
.cx-choice input:disabled { cursor: not-allowed; }
.cx-choice input:disabled + span { opacity: .45; background: #f6f6f2; }
.cx-choice input:disabled + span small { text-decoration: line-through; }
/* A time closed on the chosen day (Admin → Closed days & times): grey, cannot be chosen, and
   "Fully booked" where its price was (public/fulfillment-date.js). */
.cx-choice.is-booked { cursor: not-allowed; }
.cx-choice.is-booked input:disabled + span { opacity: 1; border-style: dashed; background: #f5f3ef; box-shadow: none; }
.cx-choice.is-booked > span::after { display: none; }
.cx-choice.is-booked strong { color: #7d8781; }
.cx-choice.is-booked small { color: #8b948f; text-decoration: line-through; }
.cx-choice.is-booked b { justify-self: start; padding: 4px 10px; border-radius: 999px; background: #e9e5df; color: #5c625e; }

/* Switch and checkbox rows. */
.cx-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1.5px solid var(--cx-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
}
.cx-check strong { display: block; color: var(--cx-forest); font: 700 16px/1.25 var(--cx-display); }
.cx-check small { display: block; margin-top: 3px; color: var(--cx-muted); font: 600 14px/1.35 var(--cx-body); }
.cx-switch {
  position: relative;
  flex: none;
  width: 52px;
  height: 32px;
  margin: 0;
  border-radius: 999px;
  background: #d8dfda;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background .2s ease;
}
.cx-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(18, 55, 40, .25);
  transition: transform .22s var(--cx-ease);
}
.cx-switch:checked { background: var(--cx-pink); }
.cx-switch:checked::before { transform: translateX(20px); }
.cx-switch:focus-visible { outline: 3px solid rgba(255, 79, 163, .45); outline-offset: 3px; }

.cx-consent {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(238, 244, 238, .8);
  color: var(--cx-muted);
  font: 500 13px/1.45 var(--cx-body);
  cursor: pointer;
}
.cx-consent input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border: 1.5px solid var(--cx-line-strong);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background .15s ease, border-color .15s ease;
}
.cx-consent input:checked {
  border-color: var(--cx-forest);
  background: var(--cx-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.cx-consent input:focus-visible { outline: 3px solid rgba(255, 79, 163, .45); outline-offset: 2px; }

/* ---- messages, totals, small print -------------------------------------------------------- */
.cx-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 47, .22);
  border-radius: 16px;
  background: #fff1f0;
  color: var(--cx-danger);
  font: 700 15px/1.4 var(--cx-body);
}
.cx-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  color: var(--cx-muted);
  font: 600 14px/1.45 var(--cx-body);
}
.cx-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: var(--cx-palm); }
.cx-rows { display: grid; gap: 10px; margin: 0; }
.cx-rows > div { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.cx-rows span { color: var(--cx-muted); font-weight: 600; }
.cx-rows strong { color: var(--cx-forest); font-weight: 800; text-align: right; }
.cx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cx-sage);
  color: var(--cx-forest);
  font: 700 15px/1 var(--cx-body);
}
.cx-foot {
  margin-top: 22px;
  color: var(--cx-muted);
  font-size: 13px;
  text-align: center;
}
.cx-foot p { margin: 6px 0; }
.cx-foot svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The honeypot field bots fill in and people never see. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* ---- the "done" card (request sent, payment being prepared) ------------------------------- */
.cx-done { text-align: center; padding: 34px 24px 28px; }
.cx-done .cx-title { font-size: clamp(30px, 8vw, 40px); }
.cx-done .cx-lede { margin-inline: auto; max-width: 30em; }
.cx-done .cx-btn { margin-top: 24px; }
.cx-done .custom-order-edit { margin: 0; }
.cx-done .custom-order-edit .cx-btn { margin-top: 12px; }
.cx-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ff8cc4, var(--cx-pink) 55%, var(--cx-pink-2));
  color: #fff;
  box-shadow: var(--cx-shadow-pink), inset 0 -4px 10px rgba(146, 20, 82, .25);
}
.cx-mark svg { width: 36px; height: 36px; }
.cx-fineprint { margin: 14px 0 0; color: var(--cx-faint); font-size: 13px; }

.cx-spinner {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 79, 163, 0) 0deg, var(--cx-pink) 260deg, var(--cx-forest) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: cx-spin .9s linear infinite;
}

/* ---- motion ------------------------------------------------------------------------------ */
@keyframes cx-spin { to { transform: rotate(360deg); } }
@keyframes cx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cx-pop { 0% { opacity: 0; transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .cx-rise { animation: cx-rise .5s var(--cx-ease) both; }
  .cx-rise:nth-child(2) { animation-delay: .06s; }
  .cx-rise:nth-child(3) { animation-delay: .12s; }
  .cx-rise:nth-child(4) { animation-delay: .18s; }
  .cx-mark { animation: cx-pop .6s var(--cx-ease) .1s both; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-spinner { animation-duration: 2.4s; }
}

/* ---- wider screens: the same column, a little more air ----------------------------------- */
@media (min-width: 720px) {
  .cx-wrap { padding-top: 30px; }
  .cx-top { padding-bottom: 28px; }
  .cx-logo { height: 44px; }
  .cx-card { padding: 30px 30px; }
}

/* ---- custom request (views/custom_request_public.ejs, custom_request_saved.ejs) ----------- */
.cx-wrap--narrow { width: min(100%, 520px); }

.cx-page .cx-call {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #24573f 0%, var(--cx-forest) 65%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 20px 40px -22px rgba(18, 55, 40, .85);
  transition: transform .15s ease;
}
.cx-page .cx-call:active { transform: scale(.985); }
.cx-call__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: var(--cx-pink);
  box-shadow: 0 10px 20px -8px rgba(255, 79, 163, .8);
}
.cx-call__icon svg { width: 24px; height: 24px; }
.cx-call__text { display: grid; gap: 3px; min-width: 0; }
.cx-call__text small { color: #ffc4e1; font: 800 11px/1.2 var(--cx-body); letter-spacing: .12em; text-transform: uppercase; }
.cx-call__text strong { color: #fff; font: 700 18px/1.2 var(--cx-display); }
.cx-call__text em { display: block; margin-top: 2px; font: 800 20px/1.2 var(--cx-body); font-style: normal; letter-spacing: .01em; white-space: nowrap; }
.cx-call__text > span { color: rgba(255, 255, 255, .74); font: 500 14px/1.4 var(--cx-body); }
.cx-call__go {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}
.cx-call__go svg { width: 18px; height: 18px; }

.cx-submit { display: grid; gap: 14px; margin-top: 26px; }

/* The request's date picker (a calendar that opens under the field). */
.cx-page .df-date-picker { position: relative; }
.cx-page .df-date-picker__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid var(--cx-line);
  border-radius: 16px;
  background: #fff;
  color: #9ba7a0;
  font: 500 17px/1.35 var(--cx-body);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 55, 40, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cx-page .df-date-picker__button.has-value { color: var(--cx-ink); }
.cx-page .df-date-picker__button svg { width: 20px; height: 20px; flex: none; color: var(--cx-forest); }
.cx-page .df-date-picker__button[aria-expanded="true"],
.cx-page .df-date-picker__button:focus-visible { border-color: var(--cx-pink); box-shadow: var(--cx-ring); outline: 0; }
.cx-page .df-date-picker__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--cx-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 60px -20px rgba(18, 55, 40, .45);
  animation: cx-rise .22s var(--cx-ease) both;
}
.cx-page .df-date-picker__head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.cx-page .df-date-picker__head strong { color: var(--cx-forest); font: 700 16px/1.2 var(--cx-display); text-align: center; }
.cx-page .df-date-picker__head button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cx-sage);
  color: var(--cx-forest);
  font: 800 22px/1 var(--cx-body);
  cursor: pointer;
}
.cx-page .df-date-picker__head button:disabled { opacity: .35; cursor: default; }
.cx-page .df-date-picker__weekdays,
.cx-page .df-date-picker__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cx-page .df-date-picker__weekdays { margin-bottom: 4px; }
.cx-page .df-date-picker__weekdays span {
  color: var(--cx-faint);
  font: 800 11px/2 var(--cx-body);
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.cx-page .df-date-picker__grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--cx-forest);
  font: 700 15px/1 var(--cx-body);
  cursor: pointer;
  transition: background .12s ease;
}
.cx-page .df-date-picker__grid button:hover { background: var(--cx-tint); }
.cx-page .df-date-picker__grid button:disabled { color: #c3cbc6; background: none; cursor: not-allowed; }
.cx-page .df-date-picker__grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--cx-line-strong); }
.cx-page .df-date-picker__grid button.is-selected {
  background: linear-gradient(135deg, #ff76bb, var(--cx-pink) 55%, var(--cx-pink-2));
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(240, 62, 147, .8);
}

.cx-done__ref { margin: 18px 0 0; }

/* ---- custom order (views/custom_order_customer.ejs, custom_order_checkout_wait.ejs) -------- */
.cx-card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--cx-forest);
  font: 700 20px/1.2 var(--cx-display);
}
.cx-card-title span { color: var(--cx-muted); font: 700 14px/1 var(--cx-body); }
.cx-items { display: grid; gap: 4px; }
.cx-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}
.cx-item + .cx-item { border-top: 1px solid var(--cx-line); }
.cx-item__thumb {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--cx-line);
  border-radius: 18px;
  background: #fffaf3;
}
.cx-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cx-item__thumb--empty { background: var(--cx-tint); }
.cx-item__thumb--empty img { width: 34px; height: 34px; object-fit: contain; }
.cx-item__copy { min-width: 0; overflow-wrap: anywhere; }
.cx-item__copy strong { display: block; color: var(--cx-forest); font: 700 16px/1.25 var(--cx-display); }
.cx-item__copy p { margin: 4px 0 0; color: var(--cx-muted); font: 600 14px/1.3 var(--cx-body); }
.cx-page .cx-item__ref { display: inline-block; margin-top: 5px; color: var(--cx-berry); font: 700 13px/1.2 var(--cx-body); }
.cx-item__price { color: var(--cx-forest); font: 800 16px/1.2 var(--cx-body); white-space: nowrap; }
.cx-order__totals {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--cx-sage);
}
.cx-order__error { margin: 18px 0 0; }

.cx-gift {
  padding: 16px;
  border: 1.5px dashed rgba(255, 79, 163, .35);
  border-radius: 20px;
  background: var(--cx-tint);
  animation: cx-rise .3s var(--cx-ease) both;
}

.cx-checkout {
  display: grid;
  gap: 8px;
  margin: 26px 0 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f3f7f2, #eef4ee);
}
.cx-rows .cx-checkout__total span { color: var(--cx-forest); font-weight: 800; }
.cx-rows .cx-checkout__total strong { font: 700 26px/1.1 var(--cx-display); letter-spacing: -.01em; }
.cx-checkout small { color: var(--cx-muted); font: 600 13px/1.4 var(--cx-body); }

.cx-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 79, 163, .2), transparent 40%),
    rgba(255, 248, 236, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: cx-fade .25s ease both;
}
.cx-overlay__card {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(380px, 100%);
  padding: 30px 24px 28px;
  border: 1px solid var(--cx-line);
  border-radius: 30px;
  background: var(--cx-paper);
  box-shadow: var(--cx-shadow);
  text-align: center;
}
.cx-overlay__card strong { color: var(--cx-forest); font: 700 24px/1.15 var(--cx-display); }
.cx-overlay__card p { margin: 0; color: var(--cx-muted); font: 600 15px/1.4 var(--cx-body); }
.cx-loader { position: relative; display: grid; width: 84px; height: 84px; margin: 0 auto 14px; place-items: center; }
.cx-loader .cx-spinner { position: absolute; inset: 0; width: auto; height: auto; margin: 0; }
.cx-loader img { width: 44px; height: 44px; }
body.checkout-loading { overflow: hidden; }
@keyframes cx-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 980px) {
  .cx-wrap.cx-split,
  .cx-wrap.cx-order {
    display: grid;
    align-items: start;
    width: min(100%, 1160px);
    padding-inline: 32px;
  }
  .cx-wrap.cx-split {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: 56px;
  }
  .cx-split__top,
  .cx-order__top { grid-column: 1 / -1; justify-content: flex-start; }
  .cx-split__aside { position: sticky; top: 32px; padding-top: 14px; }
  .cx-split__aside .cx-title,
  .cx-order__hero .cx-title { font-size: 50px; }
  .cx-wrap.cx-order {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    grid-template-areas: "top top" "hero summary" "main summary";
    column-gap: 40px;
  }
  .cx-order__top { grid-area: top; }
  .cx-order__hero { grid-area: hero; }
  .cx-order__summary { grid-area: summary; position: sticky; top: 28px; }
  .cx-order__main { grid-area: main; }
  .cx-wrap.cx-order > .cx-card + .cx-card { margin-top: 0; }
}
