.order-shell {
  position:relative;
  z-index:1;
  width:min(100% - 1.25rem,36rem);
  margin:0 auto;
  padding:1.25rem 0 1.75rem;
}

.order-brand {
  display:flex;
  gap:.75rem;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:0 auto .85rem;
  padding:.35rem .55rem;
  color:inherit;
  border:2px dotted transparent;
  border-radius:999px;
  text-decoration:none;
}
.order-brand:hover,.order-brand:focus-visible { color:#e1e1f3; border-color:#a7aade; outline:0; }
.order-moon { display:block; width:2.65rem; height:auto; filter:drop-shadow(2px 3px 0 rgba(5,9,12,.72)); }
.order-wordmark { display:block; text-align:center; }
.order-wordmark img { display:block; width:5.5rem; height:auto; filter:drop-shadow(2px 3px 0 #05090c); }
.order-wordmark > span { display:block; margin-top:.05rem; color:#b89468; font:400 italic .68rem/1.1 "IM Fell English",Georgia,serif; letter-spacing:.22em; text-transform:lowercase; text-shadow:1px 2px 0 #05090c; }
.order-home-cue { margin-left:.2rem; padding-left:.7rem; color:#c4c6e8; border-left:1px dotted #7f84ad; font:400 italic .88rem/1.2 "IM Fell English",Georgia,serif; white-space:nowrap; }

.bread-order-form {
  padding:1.1rem .65rem .65rem;
  border-top:1px solid #526a68;
  border-radius:1.25rem;
  background:linear-gradient(to bottom,rgba(13,31,38,.72),rgba(13,31,38,.32) 55%,transparent);
}
.form-intro { padding:.25rem .45rem 1rem; text-align:center; }
.form-intro h1 { margin:0; color:var(--periwinkle-pale); font:400 italic clamp(1.8rem,8vw,2.5rem)/1.15 "IM Fell English",Georgia,serif; text-shadow:2px 2px 0 #05090c; }
.form-intro p { max-width:31rem; margin:.7rem auto 0; color:#d2dad5; font-size:1rem; line-height:1.55; }
.form-intro .advance-notice { margin-top:.9rem; padding:.6rem .25rem; color:#dedff2; border-block:1px dotted #858ab8; font-size:1rem; font-weight:400; line-height:1.5; }
.bakery-info-link { display:inline-block; margin:.65rem auto .2rem; color:#c9cbea; font-size:.92rem; text-underline-offset:.22rem; }
.bakery-info-link:hover,.bakery-info-link:focus-visible { color:#f0f0fa; outline:2px dotted #a7aade; outline-offset:3px; }

.bakery-details { margin:.2rem 0 1.25rem; border-block:1px solid #596f6d; }
.bakery-details summary { padding:.75rem .25rem; color:#dfe0f2; font-size:1.05rem; cursor:pointer; }
.bakery-details summary:focus-visible { outline:2px dotted #a7aade; outline-offset:3px; }
.bakery-details-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 1rem; padding:.1rem .25rem .9rem; }
.bakery-details-grid section { padding:.7rem 0; border-top:1px dotted #526a68; }
.bakery-details-grid h2 { margin:0 0 .25rem; color:#c4c6e8; font:400 italic 1.1rem/1.2 "IM Fell English",Georgia,serif; }
.bakery-details-grid p { margin:0; color:#d0dad4; font-size:.92rem; line-height:1.5; }

.bread-list,.contact-fields { min-width:0; margin:0; padding:0; border:0; }
.bread-list { display:grid; gap:0; border-top:1px solid #526a68; }
.bread-choice {
  display:grid;
  grid-template-columns:5.2rem minmax(0,1fr);
  gap:.85rem;
  align-items:start;
  padding:1rem .25rem 1.1rem;
  border-bottom:1px solid #526a68;
}
.bread-row-photo { width:5.2rem; aspect-ratio:1; margin-top:.1rem; border:1px solid #6d8586; border-radius:50%; background-image:url("assets/bread-gallery-illustrations.png?v=clean-fitted-2"); background-repeat:no-repeat; background-size:400% auto; box-shadow:2px 3px 0 rgba(5,9,12,.55); }
.bread-choice[data-bread="plain"] .bread-row-photo { background-position:0 50%; }
.bread-choice[data-bread="cranberry"] .bread-row-photo { background-position:33.333% 50%; }
.bread-choice[data-bread="jalapenoCheddar"] .bread-row-photo { background-position:66.667% 50%; }
.bread-choice[data-bread="rosemary"] .bread-row-photo { background-position:100% 50%; }
.bread-choice-content { display:grid; gap:.7rem; min-width:0; }
.bread-heading { display:flex; gap:.65rem; align-items:baseline; justify-content:space-between; padding:0 .25rem; }
.bread-heading strong { color:#e0d5c9; font-size:1.15rem; font-weight:400; }
.bread-heading small { color:#c4c6eb; font-size:1.2rem; font-weight:400; letter-spacing:.02em; text-shadow:1px 1px 0 #05090c; }
.bread-options { display:grid; gap:.7rem; }
.bread-options > label:first-child { width:min(7rem,100%); }
.bread-options label { display:grid; gap:.28rem; min-width:0; }
.bread-options label > span { padding-left:.2rem; color:#d0dad4; font-size:.9rem; font-weight:400; }
.bread-options select {
  width:100%;
  min-height:2.35rem;
  padding:.25rem .4rem;
  color:#f4e5dc;
  border:1px solid #7f84ad;
  border-radius:1.4rem;
  background:#172d35;
  font:400 .92rem/1.2 "IM Fell English",Georgia,serif;
  text-align:center;
}
.bread-options select:disabled { color:#718079; border-color:#455957; opacity:.58; }
.individual-loaf-options { display:grid; gap:.55rem; }
.individual-loaf-options:empty { display:none; }
.individual-loaf-row { display:grid; grid-template-columns:3.8rem minmax(0,1.15fr) minmax(0,1fr); gap:.55rem; align-items:end; padding-top:.55rem; border-top:1px dotted #526a68; }
.individual-loaf-row > strong { align-self:center; color:#c4c6e8; font-size:.88rem; font-weight:400; }

.loaf-limit { margin:.9rem .35rem 0; color:#c2c4e4; font-size:1rem; font-style:italic; font-weight:400; text-align:center; }
.loaf-limit-before { margin:.25rem 0 .8rem; padding:.35rem .65rem; border-left:2px solid #7f84ad; text-align:left; }
.order-total { display:flex; justify-content:space-between; margin:.8rem .35rem 1.35rem; padding:.75rem; color:#d2dad5; border-bottom:1px dotted #718987; font-size:1rem; }
.order-total strong { color:#dfe0f2; font-size:1.15rem; }

.fulfillment-fields,.contact-fields { min-width:0; margin:0; padding:0; border:0; }
.fulfillment-fields { display:grid; gap:.55rem; margin-top:1.75rem; margin-bottom:2.25rem; }
.fulfillment-fields legend,.contact-fields legend { margin:0 0 .8rem; color:#c4c6e8; font:400 italic 1.35rem/1.25 "IM Fell English",Georgia,serif; }
.fulfillment-option { display:flex; gap:.7rem; align-items:center; padding:.75rem .25rem; border-bottom:1px solid #526a68; }
.fulfillment-option input { width:1.1rem; height:1.1rem; margin:0; accent-color:#989dcb; }
.fulfillment-option > span { display:flex; gap:.6rem; align-items:baseline; justify-content:space-between; width:100%; }
.fulfillment-option strong { color:#e0d5c9; font-weight:400; }
.fulfillment-option small { color:#bec0e1; font-size:.9rem; line-height:1.35; text-align:right; }
.delivery-address { display:grid; gap:.35rem; margin:.5rem 0 0; padding:.25rem 0 .25rem .8rem; border-left:2px dotted #7f84ad; }
.delivery-address[hidden] { display:none; }
.delivery-address label { display:grid; gap:.35rem; margin-bottom:.45rem; }
.delivery-address > span { color:#cdd3cf; font-size:1rem; font-weight:400; }
.delivery-address label > span { color:#cdd3cf; font-size:1rem; font-weight:400; }
.delivery-address small { color:#ccd7d1; font-size:.9rem; line-height:1.4; }
.delivery-distance-notice { display:block; margin-bottom:.2rem; color:#ff9bca; font-size:1rem; font-weight:700; }
.requested-date { display:grid; gap:.35rem; margin-top:.45rem; }
.requested-date > span { color:#cdd3cf; font-size:1rem; }
.requested-date small { color:#ccd7d1; font-size:.9rem; line-height:1.4; }
.date-input-wrap { position:relative; display:block; }
.date-input-wrap input { padding-right:3.25rem; }
.date-picker-button { position:absolute; top:50%; right:.45rem; display:grid; width:2.3rem; height:2.3rem; padding:.42rem; color:#d8d9ee; border:0; border-radius:50%; background:transparent; transform:translateY(-50%); cursor:pointer; }
.date-picker-button svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.date-picker-button:hover,.date-picker-button:focus-visible { color:#fff; background:rgba(115,121,170,.35); outline:2px dotted #a7aade; outline-offset:1px; }
.requested-date input::-webkit-calendar-picker-indicator { opacity:0; }

.contact-fields { display:grid; gap:.85rem; margin-top:.75rem; }
.contact-fields label { display:grid; gap:.35rem; }
.contact-fields label > span { color:#cdd3cf; font-size:1rem; font-weight:400; }
.contact-fields small { color:#ccd7d1; }
.contact-fields input,.delivery-address input,.requested-date input,.thoughts-field textarea {
  width:100%;
  min-height:3rem;
  padding:.7rem .85rem;
  color:#f0e3d6;
  border:1px solid #5d716f;
  border-radius:.65rem;
  background:rgba(7,18,23,.86);
  font:400 1rem/1.5 "IM Fell English",Georgia,serif;
}
.thoughts-field { display:grid; gap:.4rem; margin-top:1.1rem; }
.thoughts-field > span { color:#c4c6e8; font:400 italic 1.25rem/1.3 "IM Fell English",Georgia,serif; }
.thoughts-field small { color:#ccd7d1; font-size:.9rem; }
.thoughts-field textarea { min-height:6.5rem; resize:vertical; }
.contact-fields input:focus,.delivery-address input:focus,.requested-date input:focus,.thoughts-field textarea:focus,.bread-options select:focus { outline:2px dotted #a7aade; outline-offset:3px; }
.field-needs-attention { border-color:#ff4fa3 !important; outline:3px solid rgba(255,79,163,.48) !important; outline-offset:3px; box-shadow:0 0 0 5px rgba(255,79,163,.13),0 0 18px rgba(255,79,163,.65) !important; animation:missing-field-pulse .7s ease-in-out 2; }
.label-needs-attention > span:first-child { color:#ff8fc5; }
.field-error-message { display:block; margin:.15rem 0 0; color:#ff9bca !important; font-size:.88rem !important; font-style:italic; line-height:1.35; }
@keyframes missing-field-pulse { 50% { transform:scale(1.015); box-shadow:0 0 0 8px rgba(255,79,163,.2),0 0 25px rgba(255,79,163,.8); } }
@media (prefers-reduced-motion:reduce) { .field-needs-attention { animation:none; } }

.honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.cf-turnstile { min-height:0; margin:.55rem auto .8rem; }
.submit-explanation { display:flex; min-height:3.5rem; max-width:100%; margin:.75rem auto; align-items:center; justify-content:center; color:#d2dad5; font-size:clamp(.75rem,2.8vw,1rem); line-height:1.4; text-align:center; white-space:nowrap; }

.submit-order {
  display:block;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  min-height:3.65rem;
  padding:.75rem 1.65rem;
  color:#f0f0fa;
  border:2px solid #aeb2dc;
  border-radius:2.4rem 3rem 2.25rem 2.8rem;
  background:linear-gradient(105deg,#48517c,#353c63);
  box-shadow:4px 5px 0 #05090c,inset 0 0 0 1px rgba(225,225,243,.24);
  font:400 italic 1.24rem/1.25 "IM Fell English",Georgia,serif;
  letter-spacing:.015em;
  cursor:pointer;
}
.submit-order:hover,.submit-order:focus-visible { filter:brightness(1.1); outline:2px dotted #b8bae2; outline-offset:4px; }
.submit-order.is-jiggling { animation:submit-jiggle .3s ease-in-out; }
.submit-order:disabled { cursor:wait; filter:saturate(.45); opacity:.7; }
@keyframes submit-jiggle { 0%,100%{transform:rotate(0)} 30%{transform:rotate(-1.7deg) scale(.985)} 65%{transform:rotate(1.7deg) scale(1.015)} }
.form-status { min-height:1.4rem; margin:.9rem .25rem 0; color:#d3ddd5; font-size:1rem; font-style:italic; font-weight:400; line-height:1.5; text-align:center; }
.form-status:empty { min-height:0; margin:0; }
.form-status.is-error { color:#ff9bca; }
.form-status.is-success { color:#b8d0bc; }

.next-steps { margin:1rem 0 .25rem; padding:1rem 1.05rem; color:#d9e1da; border:2px solid #7c96a0; border-radius:2rem 2.7rem 2.1rem 2.5rem; background:rgba(30,65,67,.82); box-shadow:3px 4px 0 #05090c; }
.next-steps[hidden] { display:none; }
.next-steps:focus { outline:2px dotted #b8bae2; outline-offset:4px; }
.next-steps-kicker { margin:0 0 .2rem; color:#c4c6e8; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; }
.next-steps h2 { margin:0; color:#f0e3d6; font:400 italic 1.55rem/1.2 "IM Fell English",Georgia,serif; }
.request-review { margin:.7rem 0 1.1rem; padding:.8rem 0 1rem; border-bottom:1px dotted #7c96a0; }
.request-review h2 { margin-bottom:.55rem; }
.request-review dl { display:grid; grid-template-columns:max-content 1fr; gap:.35rem .8rem; margin:0; }
.request-review dt { color:#c4c6e8; }
.request-review dd { min-width:0; margin:0; overflow-wrap:anywhere; }
.request-review ul { margin:0; padding-left:1.05rem; }
.request-review li { margin:.2rem 0; }
.next-steps ol { margin:.7rem 0 0; padding-left:1.25rem; }
.next-steps li { margin:.4rem 0; line-height:1.45; }
.next-steps-thanks { margin:.85rem 0 .1rem; color:#f0e3d6; font-style:italic; text-align:center; }

.info-shell { padding-bottom:.5rem; }
.info-page { padding:1.4rem .65rem .75rem; border-top:1px solid #526a68; border-radius:1.25rem; background:linear-gradient(to bottom,rgba(13,31,38,.72),rgba(13,31,38,.25) 65%,transparent); }
.info-page > header { margin-bottom:1.2rem; text-align:center; }
.info-kicker { margin:0 0 .25rem; color:#c9cbea; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; }
.info-page h1 { margin:0; color:var(--periwinkle-pale); font:400 italic clamp(2rem,9vw,3rem)/1.1 "IM Fell English",Georgia,serif; text-shadow:2px 2px 0 #05090c; }
.info-page section { padding:1rem .25rem; border-top:1px solid #526a68; }
.info-page h2 { margin:0 0 .35rem; color:#dfe0f2; font:400 italic 1.35rem/1.2 "IM Fell English",Georgia,serif; }
.info-page section p { margin:0; color:#d0dad4; line-height:1.6; }
.info-page section p + p { margin-top:.55rem; }
.venmo-link { color:#c9cbea; text-underline-offset:.22rem; }
.venmo-link:hover,.venmo-link:focus-visible { color:#fff; outline:2px dotted #a7aade; outline-offset:3px; }
.info-page small { color:#bac7c1; }
.info-order-link { display:block; width:max-content; max-width:100%; margin:1.25rem auto 0; padding:.65rem .9rem; color:#f0f0fa; border-bottom:2px solid #969bc9; font-size:1.05rem; font-style:italic; text-decoration:none; }
.info-order-link:hover,.info-order-link:focus-visible { color:#fff; background:rgba(84,89,137,.2); outline:2px dotted #b8bae2; outline-offset:3px; }

.order-celebration { position:fixed; z-index:100; inset:0; overflow:hidden; pointer-events:none; }
.celebration-yay {
  position:absolute;
  left:50%;
  top:46%;
  padding:.75rem 1.25rem;
  color:#eeeefa;
  border:2px dotted #b4b6df;
  border-radius:2.4rem 3rem 2.1rem 2.8rem;
  background:rgba(52,55,91,.95);
  box-shadow:5px 6px 0 rgba(5,9,12,.78),0 0 28px rgba(157,161,211,.48);
  font:400 italic clamp(1.35rem,7vw,2.25rem)/1.15 "IM Fell English",Georgia,serif;
  letter-spacing:.06em;
  white-space:nowrap;
  transform:translate(-50%,-50%) rotate(-2deg) scale(.5);
  animation:celebration-yay 2s ease-out forwards;
}
.order-confetti {
  position:absolute;
  left:50%;
  top:50%;
  opacity:0;
  transform:translate(-50%,-50%) scale(.25);
  animation:order-confetti-burst 1.8s cubic-bezier(.16,.72,.32,1) var(--delay) forwards;
  will-change:transform,opacity;
}
.order-confetti.is-bread {
  width:2.1rem;
  height:1.35rem;
  border:2px solid #754621;
  border-radius:52% 48% 46% 54%;
  background:radial-gradient(circle at 35% 28%,#f1c36b,#cf8a39 64%,#a96129);
  box-shadow:inset 0 -3px 0 rgba(91,48,22,.28),2px 3px 0 rgba(9,6,12,.55);
}
.order-confetti.is-bread::before { content:""; position:absolute; inset:18% 17%; border-radius:50%; background:repeating-linear-gradient(115deg,transparent 0 5px,rgba(255,236,181,.9) 5px 7px,transparent 7px 11px); }
.order-confetti.is-bread::after { content:""; position:absolute; inset:7%; border:1px dotted rgba(111,61,27,.58); border-radius:inherit; }
.order-confetti.is-glitter { color:#c3c4ea; font-size:clamp(.85rem,4vw,1.35rem); text-shadow:0 0 7px #a4a6d9,0 0 13px #d9daf2; filter:hue-rotate(var(--hue)); }

@keyframes order-confetti-burst {
  0% { opacity:0; transform:translate(-50%,-50%) rotate(0) scale(.2); }
  14% { opacity:1; }
  72% { opacity:.95; }
  100% { opacity:0; transform:translate(calc(-50% + var(--burst-x)),calc(-50% + var(--burst-y))) rotate(var(--spin)) scale(1); }
}
@keyframes celebration-yay {
  0% { opacity:0; transform:translate(-50%,-50%) rotate(-5deg) scale(.5); }
  16% { opacity:1; transform:translate(-50%,-50%) rotate(2deg) scale(1.08); }
  28%,72% { opacity:1; transform:translate(-50%,-50%) rotate(-2deg) scale(1); }
  100% { opacity:0; transform:translate(-50%,-58%) rotate(1deg) scale(.9); }
}

.back-home { display:block; width:max-content; max-width:90%; margin:1.75rem auto 0; color:#c3c5e5; font-size:1rem; font-style:italic; font-weight:400; text-align:center; text-underline-offset:.22rem; }
.back-home:hover,.back-home:focus-visible { color:#e1e1f3; outline:2px dotted #989dcb; outline-offset:4px; }

@media (max-width:31rem) {
  .order-shell { width:min(100% - 1rem,36rem); padding-top:.85rem; }
  .bread-order-form { padding-inline:.75rem; }
  .bakery-details-grid { grid-template-columns:1fr; }
  .bread-photo-row { justify-content:flex-start; }
  .order-moon { width:2.35rem; }
  .order-wordmark img { width:4.8rem; }
  .order-home-cue { padding-left:.55rem; font-size:.8rem; }
  .bread-options { gap:.55rem; }
  .individual-loaf-row { grid-template-columns:3.25rem minmax(0,1.15fr) minmax(0,1fr); gap:.4rem; }
  .bread-options select { padding-inline:.25rem; font-size:.9rem; }
  .order-confetti.is-bread { width:1.7rem; height:1.1rem; border-width:1.5px; }
}

@media (prefers-reduced-motion:reduce) {
  .order-celebration .order-confetti { display:none; }
  .celebration-yay { animation-duration:1.5s; }
}
