/* ---------- tokens ---------- */
:root {
  --kraft: #dcbf94;
  --paper: #fbf6ea;
  --paper-dim: #efe6d2;
  --rule: #cdbf9f;
  --ink: #1f2a1d;
  --ink-soft: #46503c;
  --green: #1f2a1d;
  --green-lift: #2b3a28;
  --on-green: #fbf6ea;
  --on-green-soft: #c9d3bd;
  --red: #c4162f;
  --red-deep: #9d0f24;

  --display: "Aref Ruqaa", "Readex Pro", serif;
  --body: "Readex Pro", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --shadow-print: 0 1px 1px rgba(58, 38, 10, .25), 0 12px 22px -10px rgba(58, 38, 10, .55);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .28 0 0 0 0 .17 0 0 0 0 .05 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--ink-soft) var(--kraft); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--kraft) var(--noise);
  caret-color: var(--red);
  overflow-x: hidden;
}
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul { list-style: none; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1.5px; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.3; text-wrap: balance; }
b, output, dd, .amt { font-variant-numeric: tabular-nums; }
s { text-decoration-thickness: 1.5px; opacity: .75; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3rem; padding: .55rem 1.4rem;
  font: 600 1rem/1.2 var(--body);
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 2px 0 var(--red-deep), 0 10px 18px -10px rgba(120, 10, 25, .7); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { min-height: 3.6rem; padding-inline: 2.2rem; font-size: 1.15rem; }
.btn-block { width: 100%; }
.link-btn {
  align-self: flex-start; min-height: 2rem; padding: .2rem 0; border: 0; background: none; cursor: pointer;
  font: 600 .93rem/1.3 var(--body); color: inherit; text-decoration: underline; text-underline-offset: .25em;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
  .btn-primary:active { transform: scale(.97); }
  .btn-paper:hover { background: #fff; }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .link-btn:hover { color: var(--red-deep); }
}

/* ---------- steppers ---------- */
.stepper { display: grid; grid-template-columns: 2.75rem 1fr 2.75rem; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.stepper button {
  height: 2.6rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: transform 120ms var(--ease-out);
}
.stepper button:active { transform: scale(.9); }
.stepper button:last-child { background: var(--ink); color: var(--paper); }
.stepper output { text-align: center; font-weight: 700; font-size: 1.1rem; min-width: 2rem; }
.stepper-sm, .stepper-paper { display: inline-grid; grid-template-columns: 2.4rem 2.2rem 2.4rem; flex: none; }
.stepper-sm button, .stepper-paper button { height: 2.4rem; }

/* ---------- header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem var(--gutter);
}
.brand { font: 700 1.9rem/1 var(--display); text-decoration: none; color: var(--ink); }
.top .brand { background: var(--paper); padding: .35rem 1rem .5rem; border-radius: 999px; box-shadow: var(--shadow-print); }
.top-nav { display: flex; align-items: center; gap: .5rem; }
.top-nav a { font-weight: 600; font-size: .95rem; text-decoration: none; padding: .5rem 1.1rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-print); }
.top-nav .top-link { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 6rem var(--gutter) 5rem;
}
.hero-copy { position: relative; z-index: 2; max-width: 33rem; text-align: center; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.25rem); line-height: 1.22; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { margin-top: 1.1rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 30rem; margin-inline: auto; }
.hero-cta { margin-top: 1.7rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.4rem; }
.hero-alt { font-weight: 600; }
.hero-from { margin-top: 1.1rem; font-size: 1rem; color: var(--ink-soft); }
.hero-from b { color: var(--red-deep); font-weight: 700; font-size: 1.15em; }

.hero-field { position: absolute; inset: 0; z-index: 1; }
.print { position: absolute; left: var(--x); top: var(--y); width: min(var(--w), 15rem); translate: -50% -50%; will-change: transform; }
.print-float { animation: drift var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate; }
.print-card {
  display: block; width: 100%; padding: 6px 6px 18px; border: 0; cursor: pointer;
  background: var(--paper); box-shadow: var(--shadow-print);
  rotate: var(--r);
  animation: deal 800ms var(--ease-out) calc(var(--i) * 55ms) backwards;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.print-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-dim); }
.print-card:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .print-card:hover { transform: scale(1.07) rotate(calc(var(--r) * -1)); box-shadow: 0 2px 2px rgba(58, 38, 10, .2), 0 26px 34px -14px rgba(58, 38, 10, .6); }
}
@keyframes drift {
  from { transform: translate3d(0, -7px, 0) rotate(-1.3deg); }
  to   { transform: translate3d(0, 9px, 0) rotate(1.5deg); }
}
@keyframes deal {
  from { opacity: 0; transform: translate3d(0, -42px, 0) scale(.92) rotate(9deg); filter: blur(6px); }
}
@media (min-width: 720px) and (max-width: 1099px) { .print[data-mid] { display: none; } }
@media (max-width: 719px) {
  .hero { padding-block: calc(5rem + 42vw) calc(1.5rem + 44vw); }
  .print { left: var(--mx); top: var(--my); width: var(--mw); }
  .print[data-desk] { display: none; }
  .print-card { padding: 4px 4px 12px; }
  .top-nav a:not(.top-link) { display: none; }
}

/* ---------- promises ---------- */
.promises {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.2rem;
  padding: 1.1rem var(--gutter);
  background: var(--ink); color: var(--paper);
  font-weight: 500; font-size: .98rem;
}
.promises li { display: flex; align-items: center; gap: .6rem; }
.promises li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); flex: none; }

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-head p { color: var(--ink-soft); max-width: 36rem; }

/* ---------- ready bouquets ---------- */
.products { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) clamp(3.5rem, 8vw, 6rem); max-width: 80rem; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2.4vw, 1.8rem); }
.item { display: flex; flex-direction: column; background: var(--paper); padding: 8px; box-shadow: var(--shadow-print); scroll-margin-top: 1.5rem; }
.item-photo { position: relative; }
.item-frame { overflow: hidden; }
.item-main { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-dim); transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .item:hover .item-main { transform: scale(1.03); } }
.item[data-in] { outline: 2.5px solid var(--red); outline-offset: -2.5px; }
.tag {
  position: absolute; inset-inline-end: -1.1rem; top: .9rem; z-index: 1;
  display: flex; align-items: baseline; gap: .3rem;
  padding: .3rem 1.15rem .3rem 1.3rem;
  background: var(--red); color: #fff; rotate: -5deg;
  clip-path: polygon(.8rem 0, 100% 0, 100% 100%, .8rem 100%, 0 50%);
  filter: drop-shadow(0 4px 4px rgba(90, 10, 20, .35));
}
.tag b { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.tag small { font-size: .8rem; font-weight: 500; }
.thumbs { display: flex; gap: 6px; padding-top: 6px; }
.thumb { width: 3.1rem; padding: 0; border: 0; background: none; cursor: pointer; opacity: .6; outline: 2px solid transparent; outline-offset: -2px; transition: opacity 160ms ease; }
.thumb img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--ink); }
.item-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: .8rem .5rem .5rem; }
.item h3 { font: 600 1.15rem/1.4 var(--body); }
.item-was { font-size: .93rem; color: var(--red-deep); font-weight: 500; }
.item-note { font-size: .93rem; line-height: 1.7; color: var(--ink-soft); }
.item-actions { margin-top: auto; padding-top: .4rem; min-height: 3.15rem; }
.add { width: 100%; min-height: 2.75rem; background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .add:hover { background: var(--green-lift); } }

/* ---------- studio ---------- */
.studio { background: var(--paper); }
.studio-inner { max-width: 76rem; margin-inline: auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.design-area { display: grid; gap: 1.6rem; }
.stage-col { position: sticky; top: 0; z-index: 4; padding-block: .5rem .6rem; background: var(--paper); box-shadow: 0 10px 12px -8px rgba(251, 246, 234, .95); }
.stage {
  height: min(50vw, 14rem); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: .7rem;
  background: var(--kraft) var(--noise); border-radius: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(58, 38, 10, .12), 0 10px 20px -14px rgba(58, 38, 10, .6);
}
.stage .art { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 10px rgba(58, 38, 10, .32)); }
.stage-name { display: none; margin-top: .7rem; text-align: center; font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .design-area { grid-template-columns: minmax(18rem, 27rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .stage-col { top: 1.5rem; padding: 0; background: none; box-shadow: none; }
  .stage { height: auto; aspect-ratio: 1; padding: 9%; }
  .stage-name { display: block; }
}

.art .pt { transform-box: view-box; transform-origin: 0 0; }
.bloom .pt { animation: bloom 620ms var(--ease-out) calc(var(--i) * 55ms) backwards; }
@supports (animation-timing-function: linear(0, 1)) { .bloom .pt { animation-duration: 950ms; animation-timing-function: var(--spring); } }
@keyframes bloom { from { opacity: 0; transform: scale(.25) rotate(-32deg); } }

.ctl { margin-bottom: 1.6rem; }
.ctl > legend, .label { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: .6rem; }
.ctl > legend b { font-weight: 400; font-size: .95rem; color: var(--ink-soft); margin-inline-start: .35rem; }
.ctl:disabled .swatches { opacity: .35; }
.opt-price { font-weight: 400; font-size: .93rem; color: var(--ink-soft); margin-inline-start: .35rem; }

.shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; max-width: 30rem; }
.shape { position: relative; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .5rem .2rem .4rem; border-radius: .9rem; box-shadow: inset 0 0 0 1.5px var(--rule); cursor: pointer; transition: transform 140ms var(--ease-out); }
.shape input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.shape:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.shape:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.shape:active { transform: scale(.97); }
.shape-art { width: 100%; max-width: 4.5rem; aspect-ratio: 1; }
.shape-art .art { width: 100%; height: 100%; }
.shape em { font-style: normal; font-size: .9rem; font-weight: 600; }

.swatches { display: flex; flex-wrap: wrap; gap: .7rem .15rem; transition: opacity 160ms ease; }
.sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; width: 3.25rem; cursor: pointer; }
.sw input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sw span { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); transition: transform 140ms var(--ease-out), box-shadow 140ms ease; }
.sw input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 3px var(--paper), 0 0 0 5.5px var(--ink); }
.sw input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 7px; }
.sw:active span { transform: scale(.9); }
.sw em { font-style: normal; font-size: .78rem; line-height: 1.25; color: var(--ink-soft); text-align: center; }
.sw input:checked ~ em { color: var(--ink); font-weight: 600; }

.create-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; margin-top: 2rem; }
.create-price { font-size: .98rem; color: var(--ink-soft); }
.create-price b { color: var(--red-deep); }
.create-note { margin-top: .7rem; min-height: 1.75em; font-weight: 500; color: #2f5d3a; }

.draft { margin-top: clamp(2.2rem, 5vw, 3.5rem); padding-top: clamp(1.8rem, 4vw, 2.6rem); border-top: 1.5px dashed var(--rule); display: grid; gap: 2rem; scroll-margin-top: 1rem; }
@media (min-width: 900px) { .draft { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); } }
.draft h3 { font: 700 2.1rem/1.3 var(--display); }
.draft-from { margin-top: .3rem; color: var(--ink-soft); font-size: .95rem; }
.d-item { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px dashed var(--rule); }
.d-item.is-editing { background: #fff; box-shadow: 0 0 0 .5rem #fff; border-radius: .3rem; }
.d-art { width: 3.6rem; height: 3.6rem; flex: none; }
.d-art .art { width: 100%; height: 100%; }
.d-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.d-text small { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.opt-row .label { display: inline; margin: 0; }

/* ---------- segmented ---------- */
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .35rem; background: var(--green-lift); border-radius: 999px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: .45rem; height: 100%;
  min-height: 2.8rem; padding: .3rem 1.4rem; border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease;
}
.seg small { font-weight: 500; font-size: .85em; }
.seg input:checked + span { background: var(--paper); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.seg-paper { background: var(--paper-dim); }
.seg-paper input:checked + span { background: var(--ink); color: var(--paper); }
.seg-paper input:focus-visible + span { outline-color: var(--red); }
.seg-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 30rem; border-radius: 1.6rem; }
.seg-3 span { padding: .35rem .5rem; font-size: .95rem; line-height: 1.3; text-align: center; white-space: normal; border-radius: 1.3rem; }

/* ---------- sums (shared by draft + receipt) ---------- */
.sums > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.sums dt small { color: var(--ink-soft); }
.sums dd { font-weight: 600; white-space: nowrap; }
.sums dd.muted { font-weight: 400; color: var(--ink-soft); font-size: .93rem; }
.sums dd.strike { text-decoration: line-through; font-weight: 400; color: var(--ink-soft); }
.sums .save { color: #2f5d3a; font-weight: 500; }
.sums .total { margin-top: .5rem; padding-top: .8rem; border-top: 1.5px dashed #b9ad92; font-size: 1.35rem; font-weight: 700; }
.sums .total dd { font-weight: 700; color: var(--red); }
.sums-draft { margin-bottom: 1.2rem; }

/* ---------- order ---------- */
.order { background: var(--green); color: var(--on-green); padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.order ::selection { background: var(--paper); color: var(--ink); }
.order-inner { max-width: 70rem; margin-inline: auto; display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .order-inner { grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: start; } }
.order-form h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.order-lead { color: var(--on-green-soft); max-width: 30rem; margin-bottom: 2.2rem; }
.field { margin-bottom: 2rem; }
.field > label, .field > .label, .field > legend { display: block; font-weight: 600; font-size: 1.1rem; margin-bottom: .55rem; }
.field > label small { font-weight: 400; color: var(--on-green-soft); }
.hint { color: var(--on-green-soft); font-size: .93rem; margin-bottom: .8rem; max-width: 32rem; }
.field input[type="tel"], .field textarea {
  width: 100%; max-width: 22rem; min-height: 3.2rem; padding: .5rem 1.1rem;
  font: 600 1.2rem/1.2 var(--body); letter-spacing: .04em; font-variant-numeric: tabular-nums;
  color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: .7rem;
  text-align: start;
}
.field textarea { max-width: 32rem; font: 400 1rem/1.6 var(--body); letter-spacing: 0; padding-block: .7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #70695a; font-weight: 400; }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(251, 246, 234, .25); }
.field input[aria-invalid="true"] { border-color: #ff8b8b; }
.map { height: clamp(15rem, 42vw, 21rem); border-radius: .9rem; overflow: hidden; background: var(--green-lift); margin-top: .2rem; }
.map .leaflet-control-attribution { font-size: 10px; }
.pin { color: var(--red); filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .4)); }
.loc-status { margin-top: .8rem; font-weight: 500; min-height: 1.75em; }
.loc-status b { color: #fff; }
.err { color: #ffb0a8; font-weight: 500; font-size: .95rem; margin-top: .5rem; }
.policy { display: grid; gap: .9rem; max-width: 34rem; padding-top: 1.6rem; border-top: 1.5px dashed #4a5a45; font-size: .97rem; color: var(--on-green-soft); }
.policy b { color: var(--on-green); }

/* receipt */
.receipt-wrap { filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .4)); }
@media (min-width: 900px) { .receipt-wrap { position: sticky; top: 1.5rem; } }
.receipt {
  background: var(--paper); color: var(--ink);
  padding: 1.6rem 1.4rem 2.4rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.receipt h3 { font: 700 1.9rem/1.3 var(--display); text-align: center; padding-bottom: .8rem; border-bottom: 1.5px dashed #b9ad92; }
.lines > li { padding: .8rem 0; border-bottom: 1px dashed #d5cab1; }
.line-top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.line-top .amt { white-space: nowrap; }
.line-desc { margin: .25rem 0 .6rem; font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
.empty { padding: 1rem 0; color: var(--ink-soft); }
.receipt .sums { margin-top: .6rem; }
.receipt .btn { margin-top: 1.2rem; min-height: 3.5rem; font-size: 1.08rem; }
.send-note { margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); text-align: center; }
.receipt .err { color: var(--red-deep); text-align: center; }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; padding: 2rem var(--gutter) 6.5rem; color: var(--ink-soft); }

/* ---------- cart bar ---------- */
.cartbar {
  position: fixed; z-index: 20; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  max-width: 34rem; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .55rem; padding-inline: 1.2rem .6rem;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(251, 246, 234, .35);
  transform: translateY(calc(100% + 2rem)); visibility: hidden;
  transition: transform 220ms var(--ease-out), visibility 0s 220ms;
}
.cartbar[data-show] { transform: none; visibility: visible; transition: transform 320ms var(--ease-out), visibility 0s; }
.cartbar p { display: flex; flex-direction: column; line-height: 1.35; font-size: .9rem; }
.cartbar p b { font-size: 1.02rem; }
.cartbar .btn { min-height: 2.7rem; box-shadow: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .print-float, .bloom .pt { animation: none; }
  .print-card { animation: fade 300ms ease backwards; }
  .cartbar, .item-main { transition: none; }
  @keyframes fade { from { opacity: 0; } }
}
