:root {
  --ink: #172b2d;
  --muted: #708180;
  --line: #dce5df;
  --cream: #f7f7f2;
  --mint: #dceee5;
  --green: #badacb;
  --coral: #ef806c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

button,
select {
  font: inherit;
}

.page-shell {
  max-width: 1240px;
  margin: auto;
  padding: 30px 56px 26px;
  min-height: 100vh;
}

.topbar,
footer,
.summary-row,
.summary-total,
.section-heading,
.summary-top {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-mark {
  display: flex;
  gap: 3px;
  height: 20px;
  transform: skew(-22deg);
}

.brand-mark span {
  display: block;
  width: 5px;
  border-radius: 2px;
  background: var(--coral);
}

.brand-mark span:last-child {
  height: 14px;
  align-self: end;
  background: var(--ink);
}

.secure-note {
  color: var(--muted);
  font: 10px "DM Mono", monospace;
  letter-spacing: .1em;
}

.tiny-lock {
  margin-right: 7px;
  color: var(--coral);
  font-size: 16px;
}

.intro {
  margin: 94px 0 80px;
}

.eyebrow,
legend,
.field label {
  color: var(--coral);
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .16em;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 6.2vw, 78px);
  line-height: .97;
  letter-spacing: -.07em;
  margin: 18px 0 24px;
  font-weight: 700;
}

h1 em,
h3 em {
  color: #789f8e;
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.07em;
}

.intro-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 94px;
  align-items: start;
}

.section-heading {
  gap: 20px;
  margin-bottom: 39px;
}

.step {
  color: #91a39c;
  font: 12px "DM Mono", monospace;
}

h2 {
  margin: 6px 0 0;
  font-size: 28px;
  letter-spacing: -.05em;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  margin-bottom: 18px;
}

.date-options {
  display: flex;
  gap: 16px;
}

.date-card {
  width: 128px;
  height: 146px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: .2s ease;
}

.date-card:hover,
.date-card.selected {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.date-card input,
.ride-card input {
  position: absolute;
  opacity: 0;
}

.card-image {
  display: block;
  height: 104px;
  background-size: cover;
  background-position: center;
  filter: saturate(.8);
}

.pizza-image {
  background-image: url("https://images.unsplash.com/photo-1579751626657-72bc17010498?auto=format&fit=crop&w=350&q=80");
}

.walk-image {
  background-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=350&q=80");
}

.aperitivo-image {
  background-image: url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=350&q=80");
}

.card-label {
  display: block;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
}

.checkmark {
  display: none;
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--coral);
  color: white;
  width: 18px;
  height: 18px;
  text-align: center;
  border-radius: 50%;
  font-size: 11px;
}

.date-card.selected .checkmark {
  display: block;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}

.field label {
  display: block;
  margin-bottom: 14px;
}

.select-wrap {
  position: relative;
  max-width: 400px;
}

select {
  width: 100%;
  appearance: none;
  border: 0;
  border-bottom: 1px solid #bfcfc7;
  background: transparent;
  padding: 0 20px 13px 0;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.select-wrap>span {
  position: absolute;
  right: 0;
  pointer-events: none;
  color: var(--coral);
  font-size: 18px;
}

.companion-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  padding: 12px 0;
}

.avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font: 11px "DM Mono", monospace;
}

.companion-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}

.companion-text small {
  color: var(--muted);
  font-size: 10px;
}

.fixed-badge {
  margin-left: auto;
  color: #8ca097;
  font: 9px "DM Mono", monospace;
  letter-spacing: .12em;
}

.ride legend span {
  color: var(--muted);
  font: 10px Manrope, sans-serif;
  letter-spacing: 0;
  margin-left: 8px;
}

.ride-options {
  display: flex;
  gap: 12px;
}

.terms-info {
  max-width: 875px;
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}

.terms-info-label {
  margin: 0 0 10px;
  color: #777;
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .12em;
}

.terms-info h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.04em;
}

.terms-info h4 {
  margin: 22px 0 8px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.terms-info > p:not(.terms-info-label) {
  margin: 0 0 14px;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.terms-info ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.terms-info li {
  margin-bottom: 10px;
}

.terms-info strong,
.terms-info em {
  color: #111;
}

.terms-info a {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.terms-info a span {
  margin-left: 5px;
}

.ride-card {
  flex: 1;
  min-height: 72px;
  position: relative;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.ride-card.selected {
  border-color: var(--coral);
  background: #fff;
}

.ride-icon {
  font-size: 23px;
  color: var(--coral);
  transform: rotate(-15deg);
}

.radio-dot {
  width: 9px;
  height: 9px;
  position: absolute;
  top: 9px;
  right: 9px;
  border: 1px solid #b7c8c0;
  border-radius: 50%;
}

.ride-card.selected .radio-dot {
  border: 3px solid var(--coral);
}

.summary-panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
  padding: 36px 36px 30px;
  min-height: 552px;
}

.light-step,
.summary-panel .eyebrow {
  color: var(--green);
}

.summary-top {
  gap: 17px;
}

.summary-panel h2 {
  color: white;
  font-size: 32px;
  margin: 28px 0 38px;
}

.summary-list {
  border-top: 1px solid rgba(220, 238, 229, .25);
}

.summary-row {
  min-height: 58px;
  border-bottom: 1px solid rgba(220, 238, 229, .25);
  gap: 12px;
  font-size: 12px;
  color: #a7bbb2;
}

.summary-row strong {
  color: white;
  margin-left: auto;
  font-weight: 600;
  font-size: 12px;
}

.summary-icon {
  width: 20px;
  color: var(--coral);
  font-size: 16px;
}

.summary-total {
  justify-content: space-between;
  font-size: 13px;
  color: #a7bbb2;
}

.summary-total strong {
  color: white;
  font-size: 25px;
  letter-spacing: -.05em;
}

.free-note,
.privacy-note {
  color: #93aba0;
  font-size: 10px;
}

.free-note span {
  color: var(--coral);
  margin-right: 5px;
}

.pay-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 3px;
  background: var(--coral);
  color: white;
  padding: 17px 18px;
  margin-top: 32px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.pay-button:hover {
  background: #f49381;
  transform: translateY(-2px);
}

.pay-button b {
  font-size: 20px;
  font-weight: 400;
}

.privacy-note {
  text-align: center;
  line-height: 1.6;
  margin: 18px 0 0;
}

.success-state {
  display: none;
  text-align: center;
}

.success-state.visible {
  display: block;
  animation: appear .45s ease both;
}

.success-state h3 {
  font-size: 30px;
  line-height: 1;
  margin: 18px 0 30px;
  letter-spacing: -.06em;
}

.success-icon {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(220, 238, 229, .3);
  border-radius: 50%;
  margin: 22px auto 28px;
  position: relative;
  display: grid;
  place-items: center;
}

.success-icon:before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--coral);
  border-left-color: transparent;
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.success-lock {
  color: var(--coral);
  font-size: 34px;
}

.receipt {
  text-align: left;
  border-top: 1px dashed rgba(220, 238, 229, .3);
}

.receipt div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(220, 238, 229, .18);
}

.receipt span {
  color: #8fa59c;
  font: 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

.receipt strong {
  font-size: 11px;
  font-weight: 600;
}

.receipt-total strong {
  color: var(--green);
  font-size: 15px;
}

.new-order {
  border: 0;
  color: var(--green);
  background: transparent;
  margin-top: 25px;
  cursor: pointer;
  font-size: 11px;
}

.new-order span {
  color: var(--coral);
  font-size: 16px;
  margin-left: 7px;
}

footer {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 100px;
  padding-top: 20px;
  color: #9aaba4;
  font: 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px) {
  .page-shell {
    padding: 25px 22px;
  }

  .intro {
    margin: 70px 0 55px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .summary-panel {
    max-width: none;
  }

  footer {
    margin-top: 60px;
  }
}

/* Compact reference-style summary and Font Awesome controls */
.activity-icon {
  color: #111;
}

.activity-icon i {
  font-size: 34px;
}

.ride-icon {
  margin-right: 13px;
}

.ride-icon i {
  font-size: 25px;
}

.customizer>.divider {
  display: none;
}

.customizer>.field,
.customizer>.companion,
.customizer>.ride {
  margin-top: 28px;
}

.order-thumb i {
  font-size: 25px;
}

.free-note span {
  margin-right: 5px;
}

.summary-top {
  display: none;
}

.order-card {
  margin: 0 0 36px;
  gap: 20px;
}

.order-thumb {
  border: 1px solid #ddd;
  background: #faf9f4;
  color: #111;
}

.order-thumb span {
  font-size: 24px;
}

.summary-panel h2 {
  display: none;
}

.summary-list {
  border: 0;
}

.summary-row {
  min-height: 46px;
  padding: 0;
  border: 0;
  color: #222;
}

.summary-row strong {
  font-weight: 400;
}

.summary-total {
  margin-top: 10px;
  border-top: 0;
  padding-top: 14px;
}

.free-note {
  margin-top: 9px;
}

.summary-icon {
  display: none;
}

.coupon-row {
  margin-bottom: 30px;
}

.pay-button {
  margin-top: 30px;
}

.help-icon {
  color: #777;
  font-size: 15px;
  margin-left: 4px;
}

.summary-total {
  margin-top: 14px;
  padding-top: 8px;
}

.summary-total strong {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.summary-total strong small {
  color: #777;
  font-size: 12px;
  font-weight: 400;
}

.tax-note {
  color: #777;
  font-size: 13px;
  margin: 8px 0 24px;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-size: 12px;
  margin: 0 0 2px;
}

.terms-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #111;
}

.terms-check a {
  color: #111;
  text-underline-offset: 2px;
}

.terms-error {
  display: none;
  margin: 8px 0 0;
  color: #c62828;
  font-size: 12px;
}

.terms-error.visible {
  display: block;
}

/* Final checkout refinements */
.checkout-title h2 {
  font-size: 34px;
}

.customizer>.choice-group:first-of-type legend,
.customizer>.field label,
.customizer>.companion legend,
.customizer>.ride legend {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 18px;
}

.date-card {
  width: 132px;
  height: 138px;
  border-radius: 5px;
}

.activity-icon {
  height: 96px;
}

.activity-icon i {
  font-size: 29px;
}

.card-label {
  padding: 10px;
  font-size: 12px;
}

select {
  border-radius: 5px;
}

.companion-card {
  border-radius: 5px;
}

.ride-options {
  display: block;
  border-radius: 5px;
  overflow: hidden;
}

.ride-card,
.ride-card.selected {
  display: flex;
  align-items: center;
  min-height: 72px;
  height: 72px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
}

.ride-card:last-child {
  border-bottom: 0;
}

.ride-card.selected {
  outline: 2px solid #111;
  outline-offset: -2px;
}

.ride-card .ride-icon {
  order: 3;
  margin: 0 0 0 auto;
  width: 30px;
  text-align: center;
}

.ride-card>span:nth-of-type(2) {
  order: 2;
  margin-left: 14px;
}

.ride-card .radio-dot {
  order: 1;
  position: static;
  width: 27px;
  height: 27px;
  border: 1px solid #ddd;
  background: #fff;
}

.ride-card.selected .radio-dot {
  border: 8px solid #111;
}

.summary-row,
.summary-list,
.summary-total {
  border: 0 !important;
}

.summary-total {
  font-weight: 700;
}

.summary-total>span,
.summary-total strong {
  font-weight: 700;
}

.summary-panel h2 {
  font-size: 28px;
}

/* Clean control geometry */
select {
  height: 54px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background-color: #fff;
  color: #222;
  cursor: pointer;
}

select:focus {
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

option {
  background: #fff;
  color: #222;
  padding: 10px;
}

.select-wrap>span {
  top: 19px;
  right: 17px;
}

.date-card {
  width: 122px;
  height: 126px;
  border-radius: 7px;
  border-color: #d4d4d4;
}

.date-card:hover,
.date-card.selected {
  border-color: #999;
  transform: none;
}

.activity-icon {
  height: 88px;
}

.activity-icon i {
  font-size: 27px;
}

.card-label {
  padding: 9px 10px;
  font-size: 11px;
}

.checkmark {
  top: 6px;
  right: 6px;
  width: 17px;
  height: 17px;
  line-height: 17px;
}

.ride-options {
  border-radius: 7px;
}

.ride-card.selected {
  outline: 0;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px #d8d8d8;
}

.ride-card.selected .radio-dot {
  border: 7px solid #111;
  box-shadow: 0 0 0 1px #111;
}

.avatar {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=120&q=80");
  background-size: cover;
  background-position: center;
  font-size: 0;
}

.select-wrap>span {
  font-size: 12px;
  top: 21px;
}

.select-wrap>span i {
  font-size: 12px;
}

/* Reference checkout proportions and typography */
html,
body {
  min-height: 100%;
}

body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.topbar {
  height: 116px;
  padding: 0 54px;
  border-bottom: 1px solid #dedede;
}

.brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: .17em;
}

.secure-note {
  display: none;
}

.bag-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

.bag-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.checkmark i {
  font-size: 13px;
}

.checkmark {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #111 !important;
  line-height: 1;
}

.checkmark i {
  color: #111;
}

.ride legend span.legend-help {
  color: #777;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 7px;
}

.checkout-grid {
  grid-template-columns: 56% 44%;
}

.customizer {
  padding: 58px 35px 100px;
}

.checkout-title {
  width: 100%;
  max-width: 875px;
  margin: 0 auto 38px;
}

.checkout-title h2 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}

.checkout-title p {
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}

.checkout-title {
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
}

.choice-group,
.field,
.divider {
  width: 100%;
  max-width: 875px;
}

.choice-group,
.field {
  margin-left: auto;
  margin-right: auto;
}

.date-options {
  gap: 17px;
}

.date-card {
  width: 144px;
  height: 154px;
  border-color: #d8d8d8;
}

.activity-icon {
  background: #f8f8f8;
}

.card-label {
  padding: 12px;
  font-size: 13px;
  line-height: 1;
}

.divider {
  margin: 42px auto;
}

legend,
.field label {
  font-size: 13px;
  color: #111;
  font-weight: 400;
}

.legend-help {
  font-size: 13px;
  color: #777;
}

select {
  width: 100%;
  height: 58px;
  padding: 0 45px 0 16px;
  border: 1px solid #d6d6d6;
  border-radius: 0;
  font-size: 15px;
  color: #333;
}

.fixed-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 15px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.fixed-date:focus {
  border-color: #d6d6d6;
  outline: none;
  box-shadow: none;
}

.fixed-date:hover,
.fixed-date[aria-expanded="true"] {
  border-color: #aaa;
}

.fixed-date i {
  color: #111;
}

.fixed-date-wrap {
  position: relative;
  width: 100%;
  max-width: none;
}

.fixed-date-value {
  display: none;
}

.custom-calendar {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 300px);
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17, 17, 17, .14);
}

.custom-calendar.visible {
  display: block;
}

.calendar-header,
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  text-align: center;
}

.calendar-header {
  grid-template-columns: 32px 1fr 32px;
  margin-bottom: 14px;
}

.calendar-header strong {
  font-size: 14px;
  text-transform: capitalize;
}

.calendar-header button {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.calendar-weekdays {
  margin-bottom: 6px;
  color: #888;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-days {
  gap: 4px;
}

.calendar-days span,
.calendar-days button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #222;
  font-size: 12px;
}

.calendar-days button {
  cursor: pointer;
}

.calendar-days button:hover:not(:disabled) {
  background: #eee;
}

.calendar-days button.selected {
  background: #111;
  color: #fff;
}

.calendar-days button:disabled {
  color: #c5c5c5;
  cursor: not-allowed;
}

.fixed-date-wrap > span {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #888;
  font: 10px "DM Mono", monospace;
  letter-spacing: .08em;
  pointer-events: none;
}

.select-wrap>span {
  top: 16px;
  font-size: 20px;
}

.companion-card {
  height: 70px;
  padding: 15px;
  border-color: #d6d6d6;
}

.companion-text {
  font-size: 14px;
}

.fixed-badge {
  font-size: 10px;
}

.ride-options {
  min-height: 84px;
}

.ride-card {
  padding: 16px 18px;
  font-size: 14px;
}

.summary-panel {
  padding: 68px 58px 70px;
  background: #f7f7f7;
  border-left-color: #ddd;
}

.summary-panel .eyebrow {
  font-size: 13px;
  color: #666;
}

.order-card {
  gap: 20px;
  margin: 24px 0 36px;
}

.order-thumb {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  background: #faf9f4;
}

.order-copy strong {
  font-size: 18px;
}

.order-copy span {
  font-size: 14px;
}

.order-copy small {
  font-size: 13px;
}

.order-price {
  font-size: 14px;
}

.coupon-row {
  height: 75px;
  margin-bottom: 34px;
}

.coupon-row span {
  font-size: 15px;
}

.coupon-row button {
  width: 140px;
  font-size: 13px;
}

.summary-panel h2 {
  font-size: 25px;
  margin-bottom: 20px;
}

.summary-row {
  min-height: 48px;
  font-size: 15px;
}

.summary-row strong {
  font-size: 15px;
}

.summary-total {
  padding: 24px 0 5px;
  font-size: 16px;
}

.summary-total strong {
  font-size: 23px;
}

.pay-button {
  height: 58px;
  padding: 0 20px;
  margin-top: 34px;
  font-size: 14px;
}

.privacy-note {
  font-size: 12px;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .summary-panel {
    padding-left: 32px;
    padding-right: 32px;
  }

  .customizer {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 800px) {
  .topbar {
    height: 82px;
    padding: 0 20px;
  }

  .brand {
    font-size: 22px;
  }

  .customizer {
    padding: 42px 20px 60px;
  }

  .summary-panel {
    padding: 42px 20px 50px;
  }
}

/* Exact checkout composition: white form column + pale order column */
body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell {
  max-width: none;
  padding: 0;
}

.topbar {
  height: 116px;
  border-bottom: 1px solid #ddd;
  padding: 0 54px;
}

.brand {
  color: #111;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .18em;
}

.secure-note {
  color: #111;
  font: 11px Arial, sans-serif;
  letter-spacing: .08em;
}

.tiny-lock {
  color: #111;
}

.checkout-grid {
  grid-template-columns: 56% 44%;
  gap: 0;
  margin: 0;
  align-items: stretch;
}

.customizer {
  max-width: none;
  padding: 58px 7% 90px 4%;
  justify-self: stretch;
}

.checkout-title {
  margin: 0 auto 58px;
  max-width: 875px;
}

.checkout-title .eyebrow {
  display: block;
  color: #777;
  margin-bottom: 17px;
}

.checkout-title h2 {
  font-size: 31px;
  font-weight: 400;
  margin: 0 0 10px;
}

.checkout-title p:last-child {
  color: #777;
  font-size: 14px;
  margin: 0;
}

.section-heading {
  display: none;
}

.choice-group,
.field {
  max-width: 875px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow,
legend,
.field label {
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

legend {
  margin-bottom: 18px;
}

.legend-help {
  color: #777;
  font-size: 12px;
  margin-left: 5px;
}

.date-options {
  gap: 16px;
}

.date-card {
  width: 145px;
  height: 155px;
  border-radius: 0;
}

.date-card:hover,
.date-card.selected {
  border-color: #111;
  transform: none;
}

.activity-icon {
  height: 108px;
}

.card-label {
  font-size: 13px;
  font-weight: 400;
}

.checkmark {
  background: #111;
}

.divider {
  max-width: 875px;
  margin: 42px auto;
  background: #ddd;
}

.select-wrap {
  max-width: 100%;
}

select {
  border: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 18px 42px 18px 16px;
  background: #fff;
  font-size: 14px;
}

.select-wrap>span {
  top: 13px;
  right: 17px;
  color: #111;
}

.companion-card {
  border: 1px solid #d8d8d8;
  max-width: 100%;
  padding: 15px;
  background: #fff;
}

.fixed-badge {
  color: #777;
  font-family: Arial, sans-serif;
}

.ride-options {
  gap: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.ride-card {
  min-height: 82px;
  border: 0;
  border-right: 1px solid #d8d8d8;
  border-radius: 0;
  color: #111;
  font-weight: 400;
}

.ride-card:last-child {
  border-right: 0;
}

.ride-card.selected {
  border: 2px solid #111;
  margin: -1px 0 -1px -1px;
}

.ride-icon {
  color: #111;
}

.summary-panel {
  min-height: calc(100vh - 116px);
  padding: 68px 6% 60px;
  background: #f7f7f7;
  border-left: 1px solid #ddd;
  color: #111;
}

.summary-top {
  display: block;
}

.summary-panel .eyebrow {
  color: #777;
}

.order-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0 36px;
}

.order-thumb {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  font-size: 30px;
}

.order-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.order-copy strong {
  font-size: 18px;
  font-weight: 400;
}

.order-copy span {
  color: #777;
  font-size: 14px;
}

.order-copy small {
  color: #777;
  font-size: 13px;
}

.order-price {
  margin-left: auto;
  align-self: flex-start;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.coupon-row {
  display: flex;
  height: 75px;
  margin-bottom: 35px;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #777;
  font-size: 15px;
  align-items: center;
}

.coupon-row span {
  padding: 0 16px;
  flex: 1;
}

.coupon-row button {
  align-self: stretch;
  width: 140px;
  border: 0;
  border-left: 1px solid #ddd;
  background: #f5f5f5;
  color: #888;
  font-size: 13px;
  letter-spacing: .12em;
}

.summary-panel h2 {
  color: #111;
  font-size: 25px;
  font-weight: 400;
  margin: 0 0 24px;
}

.summary-list {
  border-top: 0;
}

.summary-row {
  min-height: 48px;
  border: 0;
  color: #333;
  font-size: 14px;
}

.summary-row strong {
  color: #111;
  font-size: 14px;
}

.summary-icon {
  color: #111;
  font-size: 15px;
}

.summary-total {
  border-top: 1px solid #ddd;
  border-bottom: 0;
  padding: 22px 0 4px;
  color: #111;
}

.summary-total strong {
  font-size: 22px;
}

.pay-button {
  border-radius: 0;
  background: #111;
  padding: 20px;
  margin-top: 32px;
  font-size: 13px;
}

.pay-button:hover {
  background: #333;
}

.privacy-note {
  color: #777;
}

.free-note {
  color: #777;
  margin-top: 15px;
}

.success-state .eyebrow {
  color: #111;
}

footer {
  display: none;
}

@media (max-width: 800px) {
  .topbar {
    height: 82px;
    padding: 0 20px;
  }

  .brand {
    font-size: 22px;
  }

  .checkout-grid {
    display: block;
  }

  .customizer {
    padding: 40px 20px 60px;
  }

  .checkout-title {
    margin-bottom: 42px;
  }

  .summary-panel {
    min-height: auto;
    padding: 42px 20px 50px;
    border-left: 0;
    border-top: 1px solid #ddd;
  }

  .coupon-row button {
    width: 100px;
  }
}

@media (max-width: 430px) {
  .date-options {
    gap: 8px;
  }

  .date-card {
    flex: 1;
    width: auto;
  }

  .ride-options {
    gap: 7px;
  }

  .ride-card {
    padding: 9px;
    grid-template-columns: 20px 1fr;
    font-size: 10px;
  }

  .summary-panel {
    padding: 28px 22px;
  }
}

/* Minimal editorial checkout styling */
body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.page-shell {
  max-width: none;
  padding: 0 35px 30px;
}

.topbar {
  height: 116px;
  border-bottom: 1px solid #ddd;
  margin: 0 -35px;
  padding: 0 35px;
}

.brand {
  color: #111;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .18em;
}

.brand-mark {
  display: none;
}

.secure-note {
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
}

.tiny-lock {
  color: #111;
  font-size: 20px;
}

.intro {
  display: none;
}

.checkout-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  gap: 0;
  margin: 0 -35px;
}

.customizer {
  padding: 62px 8%;
  max-width: 870px;
  width: 100%;
  justify-self: end;
}

.summary-panel {
  min-height: calc(100vh - 116px);
  background: #f7f7f7;
  color: #111;
  padding: 68px 6%;
  border-left: 1px solid #ddd;
}

.section-heading {
  display: block;
  margin-bottom: 55px;
}

.section-heading .step,
.summary-top .step {
  display: none;
}

.eyebrow,
legend,
.field label {
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.section-heading .eyebrow {
  display: none;
}

h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.date-options {
  gap: 16px;
}

.date-card {
  width: 145px;
  height: 155px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
}

.date-card:hover,
.date-card.selected {
  border-color: #111;
  transform: none;
}

.activity-icon {
  height: 108px;
  display: grid;
  place-items: center;
  background: #f5f5f3;
  color: #111;
}

.activity-icon svg,
.ride-icon svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.card-image {
  display: none;
}

.card-label {
  padding: 12px;
  font-size: 13px;
  font-weight: 400;
}

.checkmark {
  background: #111;
  top: 8px;
  right: 8px;
}

.divider {
  background: #ddd;
  margin: 48px 0;
}

.legend-help {
  color: #777;
  font-size: 13px;
  font-weight: 400;
  margin-left: 7px;
}

.field label,
legend {
  margin-bottom: 17px;
}

.select-wrap {
  max-width: none;
}

select {
  border: 1px solid #d8d8d8;
  padding: 18px 42px 18px 16px;
  background: #fff;
  font-size: 15px;
}

.select-wrap>span {
  right: 16px;
  top: 12px;
  color: #111;
}

.companion-card {
  border: 1px solid #d8d8d8;
  max-width: none;
  padding: 15px;
  background: #fff;
}

.avatar {
  background: #111;
  width: 38px;
  height: 38px;
}

.companion-text {
  font-size: 14px;
}

.companion-text small {
  color: #777;
  font-size: 11px;
}

.fixed-badge {
  color: #777;
  font: 10px Arial, sans-serif;
  letter-spacing: .08em;
}

.ride-options {
  gap: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.ride-card {
  min-height: 84px;
  border: 0;
  border-right: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 17px;
  color: #111;
  font-size: 13px;
  font-weight: 400;
}

.ride-card:last-child {
  border-right: 0;
}

.ride-card.selected {
  border: 2px solid #111;
  margin: -1px 0 -1px -1px;
  background: #fff;
}

.ride-icon {
  color: #111;
  font-size: inherit;
  transform: none;
}

.ride-icon svg {
  width: 29px;
  height: 29px;
}

.radio-dot {
  border-color: #999;
}

.ride-card.selected .radio-dot {
  border-color: #111;
}

.summary-top {
  display: block;
}

.summary-panel .eyebrow {
  color: #777;
  font-size: 12px;
}

.summary-panel h2 {
  color: #111;
  font-size: 32px;
  font-weight: 400;
  margin: 18px 0 48px;
}

.summary-list {
  border-top: 1px solid #ddd;
}

.summary-row {
  min-height: 65px;
  border-bottom: 1px solid #ddd;
  color: #777;
  font-size: 13px;
}

.summary-row strong {
  color: #111;
  font-size: 13px;
  font-weight: 400;
}

.summary-icon {
  color: #111;
}

.summary-total {
  color: #555;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.summary-total strong {
  color: #111;
  font-size: 20px;
  font-weight: 500;
}

.free-note,
.privacy-note {
  color: #777;
  font-size: 11px;
}

.free-note span {
  color: #111;
}

.pay-button {
  border-radius: 0;
  background: #111;
  padding: 20px;
  margin-top: 34px;
  font-size: 13px;
  font-weight: 400;
}

.pay-button:hover {
  background: #333;
}

.pay-button b {
  font-size: 22px;
}

.privacy-note {
  line-height: 1.5;
}

.success-state h3 {
  color: #111;
  font-weight: 400;
}

.success-state .eyebrow {
  color: #111;
}

.success-icon {
  border-color: #ddd;
}

.success-icon:before {
  border-color: #111;
  border-left-color: transparent;
}

.success-lock {
  color: #111;
}

.receipt {
  border-color: #ccc;
}

.receipt div {
  border-color: #ddd;
}

.receipt span {
  color: #777;
  font-family: Arial, sans-serif;
}

.receipt-total strong,
.new-order {
  color: #111;
}

footer {
  display: none;
}

@media (max-width: 800px) {
  .page-shell {
    padding: 0 20px 24px;
  }

  .topbar {
    margin: 0 -20px;
    padding: 0 20px;
    height: 82px;
  }

  .brand {
    font-size: 22px;
  }

  .checkout-grid {
    margin: 0 -20px;
    display: block;
  }

  .customizer {
    padding: 40px 20px;
    max-width: none;
  }

  .summary-panel {
    min-height: auto;
    padding: 42px 20px;
    border-left: 0;
    border-top: 1px solid #ddd;
  }
}

/* Final overrides for native controls and compact selectors */
.date-options {
  gap: 10px;
}

.date-card {
  width: 118px !important;
  height: 124px !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 8px !important;
  overflow: hidden;
  transform: none !important;
}

.date-card:hover,
.date-card.selected {
  border-color: #999 !important;
}

.activity-icon {
  height: 86px !important;
}

.activity-icon i {
  font-size: 30px !important;
}

.date-options {
  flex-wrap: wrap;
}

.bag-button i {
  font-size: 25px;
}

.bag-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.success-icon > i {
  color: #111;
  font-size: 34px;
}

.new-order > i {
  color: #111;
  font-size: 16px;
  margin-left: 7px;
}

.pay-button > i {
  font-size: 20px;
}

/* Full-page minimal receipt */
.receipt-mode .success-state {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: block;
  overflow-y: auto;
  padding: 58px 7vw 54px;
  background: #fff;
  color: #111;
  text-align: left;
}

.receipt-mode .summary-panel {
  overflow: visible;
}

.receipt-header,
.receipt-intro,
.receipt-details,
.receipt-footer {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
}

.receipt-brand {
  color: #111;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
}

.receipt-status {
  color: #666;
  font-size: 11px;
  letter-spacing: .1em;
}

.receipt-status i {
  margin-right: 7px;
  color: #111;
  font-size: 14px;
}

.receipt-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 88px 0 72px;
}

.receipt-intro .eyebrow {
  color: #777;
}

.receipt-intro h3 {
  margin: 18px 0 0;
  color: #111;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .95;
}

.receipt-intro h3 em {
  color: #777;
}

.receipt-meta {
  min-width: 205px;
  align-self: flex-end;
}

.receipt-meta div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.receipt-meta span,
.receipt-label {
  color: #777;
  font-size: 10px;
  letter-spacing: .12em;
}

.receipt-meta strong {
  font-size: 12px;
  font-weight: 400;
}

.receipt-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 28px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.receipt-detail {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.receipt-detail strong {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.04em;
}

.receipt-detail small {
  color: #777;
  font-size: 12px;
}

.receipt-amount {
  grid-column: 1 / -1;
  align-items: flex-end;
  text-align: right;
}

.receipt-amount strong {
  font-size: 38px;
  font-weight: 500;
}

.receipt-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 90px;
}

.receipt-footer p {
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}

.receipt-mode .new-order {
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 12px;
}

.receipt-mode .new-order > i {
  margin-left: 10px;
  color: #111;
  font-size: 12px;
}

.brand,
.receipt-brand {
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: -.07em;
}

.avatar {
  background-image: url("pfp.jpeg");
  background-size: cover;
  background-position: center;
  font-size: 0;
}

@media (max-width: 800px) {
  .receipt-mode .success-state {
    padding: 28px 22px 36px;
  }

  .receipt-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .receipt-intro {
    display: block;
    padding: 62px 0 48px;
  }

  .receipt-meta {
    margin-top: 42px;
  }

  .receipt-details {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .receipt-amount {
    align-items: flex-start;
    text-align: left;
  }

  .receipt-footer {
    display: block;
    padding-top: 54px;
  }

  .receipt-mode .new-order {
    margin-top: 28px;
  }
}

.pay-button:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
}

.pay-button:disabled:hover {
  background: #bdbdbd;
  transform: none;
}

.card-label {
  padding: 9px !important;
  font-size: 11px !important;
}

.checkmark {
  top: 6px !important;
  right: 6px !important;
}

.select-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.select-wrap select {
  height: 54px;
  width: 100%;
  border: 1px solid #d5d5d5 !important;
  border-radius: 8px !important;
  background: #fff;
  outline: none;
}

.select-wrap select:focus {
  border-color: #999 !important;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .12);
}

.select-wrap>span {
  top: 15px !important;
  right: 16px !important;
}

.select-wrap {
  overflow: visible;
}

.select-wrap select {
  display: none;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 14px !important;
  border: 1px solid #d5d5d5;
  padding: 0 17px;
  height: 54px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.select-trigger:hover,
.select-trigger[aria-expanded="true"] {
  border-color: #aaa !important;
}

.select-trigger i {
  font-size: 12px;
  transition: transform .2s ease;
}

.select-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #d5d5d5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 17, 17, .1);
}

/* Responsive three-column checkout layout */
.customizer > .terms-info {
  display: none;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(560px, 1.55fr) minmax(360px, .9fr);
  gap: 0;
  align-items: start;
  margin: 0;
}

.terms-column {
  position: static;
  width: auto;
  max-width: 340px;
  margin: 58px auto 0;
  transform: none;
}

.customizer {
  min-width: 0;
  max-width: none;
  width: auto;
  padding-left: 42px;
  padding-right: 42px;
}

.summary-panel {
  min-width: 0;
}

@media (min-width: 1871px) {
  .terms-column {
    display: none;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  }
}

@media (max-width: 1200px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  }

  .checkout-grid > .terms-column {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .customizer {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 800px) {
  .checkout-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .topbar > .bag-button {
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .page-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .topbar {
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .date-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .date-card {
    width: auto !important;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .page-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .topbar {
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .date-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .date-card {
    width: auto !important;
    min-width: 0;
  }
}

/* Final mobile spacing and appointment card layout. */
@media (max-width: 800px) {
  .page-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .topbar {
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid {
    display: block;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .date-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .date-card {
    width: auto !important;
    min-width: 0;
  }
}

/* Definitive desktop layout: three isolated columns from 1600px upward. */
@media (min-width: 1600px) {
  .checkout-grid {
    display: grid !important;
    grid-template-columns: minmax(240px, 18%) minmax(700px, 52%) minmax(420px, 30%) !important;
    width: 100%;
    overflow: hidden;
  }

  .checkout-grid > .terms-column {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto;
    max-width: 380px;
    margin: 58px auto 0;
    padding: 0 24px;
    overflow-wrap: anywhere;
  }

  .checkout-grid > .customizer {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto;
    min-width: 0;
    padding-left: 32px;
    padding-right: 32px;
  }

  .checkout-grid > .summary-panel {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 1599px) {
  .checkout-grid > .terms-column {
    display: none !important;
  }
}

/* Restore the original two-column checkout layout. */
.checkout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr) !important;
  width: auto;
  overflow: visible;
}

.checkout-grid > .customizer {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: auto;
  max-width: none;
  padding-left: 8%;
  padding-right: 8%;
}

.checkout-grid > .summary-panel {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto;
  min-width: 0;
  margin-right: 0;
  padding-right: 6% !important;
}

.topbar > .bag-button {
  width: 69px;
  padding-right: 35px;
}

.checkout-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr) !important;
  margin-right: 0;
}

.page-shell {
  padding-right: 0;
}

.checkout-grid > .customizer {
  padding-left: 56px;
  padding-right: 56px;
  justify-self: stretch !important;
  align-self: stretch;
}

.checkout-grid > .customizer > .checkout-title,
.checkout-grid > .customizer > .choice-group,
.checkout-grid > .customizer > .field,
.checkout-grid > .customizer > .divider {
  max-width: none;
}

@media (max-width: 800px) {
  .checkout-grid {
    display: block !important;
  }

  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
  }

  .checkout-grid > .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* The support column is available only in the 1600px-1870px range. */
@media (max-width: 1599px), (min-width: 1871px) {
  .checkout-grid > .terms-column {
    display: none !important;
  }
}

/* Show the support column at every desktop width from 1600px upward. */
@media (min-width: 1600px) {
  .checkout-grid {
    grid-template-columns: minmax(250px, 25%) minmax(0, 47%) minmax(350px, 28%);
  }

  .checkout-grid > .terms-column {
    display: block !important;
    grid-column: 1;
    grid-row: 1;
  }

  .checkout-grid > .customizer {
    grid-column: 2;
    grid-row: 1;
  }

  .checkout-grid > .summary-panel {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 1599px) {
  .checkout-grid > .terms-column {
    display: none !important;
  }
}

@media (max-width: 1599px) {
  .checkout-grid > .terms-column {
    display: none !important;
  }
}

/* Final column behavior: show support below 1871px, never overlap the form. */
@media (min-width: 1201px) and (max-width: 1870px) {
  .checkout-grid {
    grid-template-columns: minmax(250px, 25%) minmax(0, 47%) minmax(350px, 28%);
  }

  .checkout-grid > .terms-column {
    display: block;
    position: static;
    grid-column: 1;
    grid-row: 1;
    max-width: 340px;
    margin: 58px auto 0;
    transform: none;
  }

  .checkout-grid > .customizer {
    grid-column: 2;
    grid-row: 1;
  }

  .checkout-grid > .summary-panel {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 1200px) {
  .checkout-grid > .terms-column {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Keep the support text in its own column until it is intentionally hidden. */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(250px, 25%) minmax(0, 47%) minmax(350px, 28%);
}

.checkout-grid > .terms-column {
  display: block;
  position: static;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: 340px;
  margin: 58px auto 0;
  transform: none;
}

.checkout-grid > .customizer {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: auto;
}

.checkout-grid > .summary-panel {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

@media (min-width: 1871px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  }

  .checkout-grid > .terms-column {
    display: none;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
  }
}

@media (max-width: 1200px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  }

  .checkout-grid > .terms-column {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 800px) {
  .page-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .checkout-grid {
    display: block;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .checkout-grid > .terms-column {
    margin-top: 32px;
    margin-bottom: 40px;
  }

  .checkout-grid > .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .date-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .date-card {
    width: auto !important;
    min-width: 0;
  }
}

/* Final responsive layout correction */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(250px, 25%) minmax(0, 47%) minmax(350px, 28%);
  align-items: start;
}

.checkout-grid > .terms-column {
  display: block;
  position: static;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: 340px;
  margin: 58px auto 0;
  transform: none;
}

.checkout-grid > .customizer {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  min-width: 0;
  padding-left: 28px;
  padding-right: 28px;
}

.checkout-grid > .summary-panel {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}

@media (min-width: 1871px) {
  .checkout-grid > .terms-column {
    display: none;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  }

  .checkout-grid > .customizer {
    grid-column: 1;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
  }
}

@media (max-width: 1200px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  }

  .checkout-grid > .terms-column {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    width: auto;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 800px) {
  .checkout-grid {
    display: block;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  .checkout-grid > .terms-column {
    margin-top: 32px;
    margin-bottom: 40px;
  }
}

.select-menu.visible {
  display: block;
}

.select-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 10px 12px;
  background: transparent;
  color: #222;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.select-menu button:hover,
.select-menu button[aria-selected="true"] {
  background: #111;
  color: #fff;
}

.checkout-grid {
  position: relative;
}

@media (min-width: 1101px) {
  .terms-info {
    position: absolute;
    top: 170px;
    left: 15%;
    width: 250px;
    margin: 0;
    transform: translateX(-50%);
  }

  .terms-info h3 {
    font-size: 17px;
  }

  .terms-info > p:not(.terms-info-label),
  .terms-info ul {
    font-size: 11px;
    line-height: 1.5;
  }

  .terms-info h4 {
    font-size: 12px;
  }
}

@media (max-width: 1100px) {
  .terms-info {
    position: static;
    width: auto;
    margin: 42px auto 0;
  }
}

.checkout-grid,
.customizer,
.field {
  overflow: visible;
}

.field:has(.select-menu.visible) {
  position: relative;
  z-index: 6;
}

.ride-options {
  border: 1px solid #d5d5d5 !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.ride-card,
.ride-card.selected {
  height: 70px !important;
  min-height: 70px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e3e3e3 !important;
  outline: none !important;
  box-shadow: none !important;
  background: #fff !important;
}

.ride-card:last-child {
  border-bottom: 0 !important;
}

.ride-card.selected .radio-dot {
  border: 7px solid #111 !important;
  box-shadow: 0 0 0 1px #111;
}

.summary-list,
.summary-total,
.tax-note,
.terms-check,
.pay-button,
.privacy-note {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.summary-row {
  justify-content: flex-start;
  gap: 12px;
}

.summary-row strong {
  margin-left: auto;
}

.subtotal-row {
  margin-top: 10px;
}

.coupon-discount {
  color: #777;
}

.coupon-discount strong {
  color: #555;
}

.summary-list,
.summary-total,
.tax-note,
.terms-check {
  position: static;
  width: 100%;
}

.summary-list {
  margin-top: 0;
}

.summary-row {
  min-height: 30px;
  height: 30px;
  line-height: 1.2;
}

.summary-total {
  margin-top: 5px;
  padding-top: 10px;
}

.tax-note {
  margin-top: -2px;
  margin-bottom: 16px;
}

.checkout-title {
  margin-bottom: 18px !important;
}

@media (min-width: 801px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
}

.order-card {
  align-items: flex-start;
  gap: 4px;
  margin: 26px 0 36px;
  min-height: 96px;
}

.order-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #faf9f4;
}

.order-thumb i {
  font-size: 25px;
  color: #111;
}

.order-thumb b {
  position: absolute;
  top: -13px;
  right: -13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #666;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
}

.order-copy {
  gap: 6px;
  padding-top: 3px;
}

.order-copy strong {
  font-size: 18px;
  font-weight: 400;
}

.order-copy span {
  font-size: 14px;
  color: #666;
}

.order-copy small {
  font-size: 13px;
  color: #555;
}

.order-price {
  padding-top: 3px;
  font-size: 16px;
  font-weight: 400;
}

.coupon-row {
  display: flex;
  width: 100%;
  height: 58px;
  gap: 20px;
  margin: 0 0 32px;
  border: 0;
  background: transparent;
}

.coupon-row input {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #666;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.coupon-row input:focus {
  border-color: #999;
}

.coupon-row button {
  width: 110px;
  height: 58px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f5f5f5;
  color: #888;
  font-size: 13px;
  letter-spacing: .12em;
}

/* Product summary scale and reference typography */
body,
button,
select,
input {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.order-thumb {
  width: 78px;
  height: 78px;
  flex-basis: 78px;
}

.order-card {
  min-height: 78px;
  gap: 18px;
}

.order-copy strong {
  font-size: 17px;
}

.order-copy span,
.order-copy small {
  font-size: 13px;
}

/* Three-column responsive checkout layout */
.customizer > .terms-info {
  display: none;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(560px, 1.55fr) minmax(360px, .9fr);
  gap: 0;
  align-items: start;
  margin: 0;
}

.terms-column {
  position: static;
  width: auto;
  max-width: 340px;
  margin: 58px auto 0;
  transform: none;
}

.customizer {
  min-width: 0;
  max-width: none;
  width: auto;
  padding-left: 42px;
  padding-right: 42px;
}

.summary-panel {
  min-width: 0;
}

@media (min-width: 1871px) {
  .terms-column {
    display: none;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  }
}

@media (max-width: 1200px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  }

  .checkout-grid > .terms-column {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 700px;
    margin: 32px auto 0;
  }

  .checkout-grid > .customizer {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-grid > .summary-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .customizer {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 800px) {
  .checkout-grid {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .customizer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .checkout-grid > .terms-column,
  .checkout-grid > .customizer,
  .checkout-grid > .summary-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .topbar > .bag-button {
    padding-right: 0 !important;
  }
}