/* Standalone chooser. Load after customer.css; all controls are locally scoped. */
.chooser-tile {
  display: grid;
  grid-template-columns: 1fr 44%;
  width: 100%;
  max-width: 1280px;
  min-height: 228px;
  margin: 30px auto 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3e0d9;
  border-radius: 30px 80px 30px 30px;
  background: #eaf0ff;
  color: #20212a;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.chooser-tile-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 30px 38px;
}
.chooser-eyebrow {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chooser-tile-copy > strong {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.chooser-tile-copy > strong > span,
.chooser-results-head h3 > span {
  color: #4779ec;
}
.chooser-tile-copy > span:not(.chooser-eyebrow):not(.chooser-tile-link) {
  color: #555362;
  font-size: 0.94rem;
}
.chooser-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 5px;
  color: #2459c9;
  font-size: 0.9rem;
  font-weight: 750;
}
.chooser-tile-image {
  overflow: hidden;
  border-radius: 46% 0 0 0;
  background: #e3d6c3;
}
.chooser-tile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.chooser-tile:hover .chooser-tile-image img {
  transform: scale(1.035);
}
.chooser-tile:focus-visible,
.chooser-dialog button:focus-visible,
.chooser-dialog input[type='number']:focus-visible {
  outline: 3px solid #2459c9;
  outline-offset: 4px;
}
.guest-dialog.chooser-dialog {
  --chooser-blue: #3567d7;
  --chooser-cream: #f8f6f1;
  width: min(720px, calc(100% - 32px));
  height: min(980px, 94dvh);
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--chooser-cream);
  color: #20212a;
}
.chooser-dialog[open] {
  display: flex;
  flex-direction: column;
}
.chooser-dialog *,
.chooser-tile * {
  box-sizing: border-box;
}
.chooser-dialog button,
.chooser-dialog input {
  font: inherit;
}
.chooser-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding: 22px;
}
.chooser-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 290px;
  overflow: hidden;
  background: #d5c4a9;
  color: white;
}
.chooser-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.chooser-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #161b2ae8 0%, #161b2a85 42%, #161b2a05 100%);
  content: '';
}
.chooser-hero-copy {
  width: 100%;
  padding: 76px 34px 56px;
}
.chooser-hero h2 {
  max-width: 540px;
  margin: 12px 0 10px;
  color: white;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.03;
}
.chooser-hero-copy > p {
  margin: 0;
  font-size: 0.95rem;
  color: #f4f1e9;
}
.chooser-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fffdf6;
  color: #20212a;
  box-shadow: 0 3px 18px #0002;
  cursor: pointer;
}
.chooser-panel {
  position: relative;
  margin-top: -28px;
  padding: 16px 32px 30px;
  border-radius: 32px 32px 0 0;
  background: var(--chooser-cream);
}
.chooser-photo-note {
  margin: 0 0 25px;
  color: #706c66;
  font-size: 0.68rem;
  text-align: right;
}
.chooser-questions {
  display: grid;
  gap: 30px;
}
.chooser-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.chooser-question legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 1.16rem;
  font-weight: 740;
  letter-spacing: -0.025em;
}
.chooser-question legend > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7edff;
  color: #285bc9;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0;
}
.chooser-question > p {
  margin: 8px 0 14px;
  color: #706c66;
  font-size: 0.87rem;
}
.chooser-counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.chooser-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #e1dfd8;
  border-radius: 18px;
  background: #fffdf9;
}
.chooser-counter > label {
  font-size: 0.9rem;
  font-weight: 700;
}
.chooser-stepper {
  display: flex;
  align-items: center;
  gap: 3px;
}
.chooser-stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eaf0ff;
  color: #275bc9;
  font-size: 1.4rem;
  cursor: pointer;
}
.chooser-stepper button:disabled {
  background: #efede8;
  color: #aaa6a0;
  cursor: default;
}
.chooser-dialog .chooser-stepper input {
  width: 38px;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #20212a;
  font-size: 1.1rem;
  font-weight: 750;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.chooser-stepper input::-webkit-inner-spin-button,
.chooser-stepper input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.chooser-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.chooser-hunger-photo {
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: #e8dfd0;
  aspect-ratio: 2.25;
}
.chooser-hunger-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.chooser-choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.chooser-choice > input,
.chooser-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chooser-choice-face {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 102px;
  padding: 17px 14px 14px;
  border: 1.5px solid #dfddd6;
  border-radius: 18px;
  background: #fffdf9;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}
.chooser-choice-face strong {
  font-size: 0.98rem;
  line-height: 1.2;
}
.chooser-choice-face small {
  max-width: 17ch;
  color: #696966;
  font-size: 0.74rem;
  line-height: 1.35;
}
.chooser-choice-check {
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: #285ac6;
  font-size: 0.8rem;
  font-weight: 800;
  visibility: hidden;
}
.chooser-choice input:checked + .chooser-choice-face {
  border-color: #4779ec;
  background: #eaf0ff;
  box-shadow: inset 0 0 0 0.5px #4779ec;
}
.chooser-choice input:checked + .chooser-choice-face .chooser-choice-check {
  visibility: visible;
}
.chooser-choice input:focus-visible + .chooser-choice-face {
  outline: 3px solid #2459c9;
  outline-offset: 3px;
}
.chooser-results {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #dedbd4;
}
.chooser-results[hidden] {
  display: none;
}
.chooser-results-head h3 {
  margin: 8px 0 12px;
  font-size: 1.9rem;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.chooser-results-head > p,
.chooser-result-group > p {
  margin: 0 0 16px;
  color: #69665f;
  font-size: 0.87rem;
  line-height: 1.5;
}
.chooser-result-group {
  margin-top: 26px;
}
.chooser-result-group > h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.chooser-result-list {
  display: grid;
  gap: 10px;
}
.chooser-result-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e6e2d9;
  border-radius: 20px;
  background: #fffdf9;
}
.chooser-result-photo {
  overflow: hidden;
  border-radius: 14px;
  background: #eee9df;
  aspect-ratio: 1;
}
.chooser-result-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chooser-result-copy h5 {
  margin: 0 0 7px;
  font-size: 0.98rem;
  line-height: 1.25;
}
.chooser-result-price {
  color: #244f9f;
  font-size: 0.98rem;
}
.chooser-result-price span {
  font-size: 0.76rem;
  font-weight: 450;
}
.chooser-result-copy p {
  margin: 8px 0 0;
  color: #66635c;
  font-size: 0.75rem;
  line-height: 1.45;
}
.chooser-result-copy .chooser-minimum {
  color: #244f9f;
  font-weight: 650;
}
.chooser-review {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #d9e3fc;
  border-radius: 99px;
  background: #edf2ff;
  color: #2459c9;
  font-size: 0.78rem !important;
  font-weight: 750 !important;
  cursor: pointer;
}
.chooser-note,
.chooser-review-note,
.chooser-empty {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-radius: 14px;
  background: #eceef5;
  color: #545c70;
  font-size: 0.78rem;
  line-height: 1.5;
}
.chooser-review-note {
  padding: 0;
  background: transparent;
}
.chooser-error {
  margin: 16px 0 0;
  color: #a13135;
  font-size: 0.88rem;
}
.chooser-error:empty {
  display: none;
}
.chooser-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  padding: 18px 26px max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid #e5e1d8;
  background: #fffdf9;
}
.chooser-footer > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chooser-footer small {
  color: #736d64;
  font-size: 0.68rem;
}
.chooser-footer strong {
  font-size: 0.9rem;
}
.chooser-find {
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 99px;
  background: var(--chooser-blue);
  color: white;
  font-weight: 750 !important;
  cursor: pointer;
}
.chooser-find:hover {
  background: #2453bb;
}
@media (max-width: 600px) {
  .chooser-tile {
    grid-template-columns: 1fr 35%;
    min-height: 195px;
    margin-top: 20px;
    border-radius: 24px 54px 24px 24px;
  }
  .chooser-tile-copy {
    gap: 9px;
    padding: 24px 20px;
  }
  .chooser-tile-copy > strong {
    font-size: 1.65rem;
  }
  .chooser-tile-copy > span:not(.chooser-eyebrow):not(.chooser-tile-link) {
    font-size: 0.8rem;
  }
  .chooser-tile-image {
    border-radius: 55% 0 0 0;
  }
  .guest-dialog.chooser-dialog {
    width: calc(100% - 16px);
    height: 95dvh;
    max-height: 95dvh;
    margin: auto;
    border-radius: 26px;
  }
  .chooser-hero {
    min-height: 255px;
  }
  .chooser-hero-copy {
    padding: 70px 24px 52px;
  }
  .chooser-hero h2 {
    max-width: 340px;
    font-size: 2.1rem;
  }
  .chooser-panel {
    padding: 15px 20px 24px;
  }
  .chooser-counter {
    justify-content: center;
  }
  .chooser-choice-face {
    min-height: 105px;
    padding: 14px 10px 18px;
    border-radius: 15px;
  }
  .chooser-choice-face strong {
    font-size: 0.84rem;
  }
  .chooser-choice-face small {
    font-size: 0.7rem;
  }
  .chooser-choices {
    gap: 7px;
  }
  .chooser-result-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
  }
  .chooser-review {
    grid-column: 2;
    justify-self: start;
  }
  .chooser-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
  }
  .chooser-footer > div {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    width: 100%;
  }
  .chooser-find {
    width: 100%;
    min-height: 48px;
  }
}
@media (max-width: 420px) {
  .chooser-counters {
    grid-template-columns: 1fr;
  }
  .chooser-counter {
    justify-content: space-between;
    padding: 9px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chooser-tile-image img,
  .chooser-choice-face {
    transition: none;
  }
  .chooser-scroll {
    scroll-behavior: auto;
  }
}
