.p-83-tonight-estimate {
  --estimate-red: var(--soho-red, #891d21);
  --estimate-line: rgba(49, 11, 13, .26);
  --estimate-receipt-ink: #f0e3cb;
  --estimate-receipt-gold: #ddbd82;
  --estimate-receipt-line: rgba(221, 189, 130, .32);
}

.p-83-tonight-estimate__body {
  width: 100%;
  padding: 34px 72px 30px;
  color: var(--soho-ink, #1b1a17);
}

.p-83-tonight-estimate__controls {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 72px);
}

.p-83-tonight-estimate [hidden],
.p-83-tonight-estimate__jump {
  display: none;
}

.p-83-tonight-estimate__selection h3,
.p-83-tonight-estimate__scenes h3 {
  margin: 0;
  color: #6c191b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.55;
}

.p-83-tonight-estimate__scenes {
  grid-column: 1 / -1;
}

.p-83-tonight-estimate__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(10px, 2vw, 24px);
  margin-top: 9px;
  border-top: 1px solid var(--estimate-line);
}

.p-83-tonight-estimate button {
  font: inherit;
  cursor: pointer;
}

.p-83-tonight-estimate__buttons button {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 8px 7px;
  border: 0;
  border-bottom: 1px solid var(--estimate-line);
  background: transparent;
  color: inherit;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}

.p-83-tonight-estimate__scene-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.p-83-tonight-estimate__scene-label,
.p-83-tonight-estimate__buttons button > [aria-hidden="true"] {
  color: #6c191b;
}

.p-83-tonight-estimate__scene-label {
  font-size: 11px;
  font-weight: 700;
}

.p-83-tonight-estimate__buttons button:hover,
.p-83-tonight-estimate__buttons button[aria-pressed="true"] {
  background: rgba(49, 11, 13, .085);
}

.p-83-tonight-estimate__buttons button[aria-pressed="true"] {
  box-shadow: inset 3px 0 var(--estimate-red);
  font-weight: 700;
}

.p-83-tonight-estimate__order-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.p-83-tonight-estimate__order-count {
  margin: 3px 0 0;
  color: var(--soho-muted, #33302b);
  font-size: 12px;
}

.p-83-tonight-estimate__order-heading label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.p-83-tonight-estimate__advance-notice {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  padding: 9px 12px;
  border-inline-start: 3px solid var(--estimate-receipt-gold);
  background: #e0c08a;
  color: #310b0d;
  font-size: 12px;
  line-height: 1.5;
}

.p-83-tonight-estimate__advance-notice strong {
  font-size: 16px;
}

.p-83-tonight-estimate__hint {
  margin: 7px 0 13px;
  color: var(--soho-muted, #33302b);
  font-size: 12px;
  line-height: 1.65;
}

.p-83-tonight-estimate__select {
  position: relative;
  display: block;
  min-width: 0;
}

.p-83-tonight-estimate__select::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border: solid #75302b;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
  content: "";
}

.p-83-tonight-estimate select,
.p-83-tonight-estimate input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid var(--estimate-line);
  border-radius: 5px;
  background: rgba(238, 227, 204, .46);
  color: inherit;
  font: inherit;
}

.p-83-tonight-estimate select {
  display: block;
  appearance: none;
  padding-inline: 12px 36px;
  cursor: pointer;
  text-overflow: ellipsis;
}

.p-83-tonight-estimate__order-heading select {
  min-width: 92px;
}

.p-83-tonight-estimate :is(select, input):hover {
  border-color: rgba(117, 48, 43, .66);
  background-color: rgba(238, 227, 204, .62);
}

@media (forced-colors: active) {
  .p-83-tonight-estimate__select::after {
    display: none;
  }

  .p-83-tonight-estimate select {
    appearance: auto;
    padding-inline-end: 12px;
  }
}

.p-83-tonight-estimate :is(button, select, input, a):focus-visible {
  outline: 2px solid var(--estimate-red);
  outline-offset: 3px;
}

.p-83-tonight-estimate__orders {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.p-83-tonight-estimate__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4rem auto auto;
  align-items: end;
  gap: 8px 10px;
}

.p-83-tonight-estimate__row label {
  display: grid;
  min-width: 0;
  gap: 3px;
  font-size: 13px;
}

.p-83-tonight-estimate__remove,
.p-83-tonight-estimate__add {
  min-height: 38px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #6c191b;
}

.p-83-tonight-estimate button.p-83-tonight-estimate__remove,
.p-83-tonight-estimate button.p-83-tonight-estimate__add {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-83-tonight-estimate__remove:disabled {
  visibility: hidden;
}

.p-83-tonight-estimate__summary {
  scroll-margin-block-start: 12px;
  padding: clamp(22px, 2.7vw, 42px);
  background: var(--shelf-tag-red-bg, #310b0d);
  color: var(--estimate-receipt-ink);
}

.p-83-tonight-estimate__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-83-tonight-estimate__result {
  display: flex;
  flex-direction: column;
  padding-inline-end: clamp(12px, 2vw, 24px);
}

.p-83-tonight-estimate__result--member {
  padding-inline-end: 0;
  padding-inline-start: clamp(12px, 2vw, 24px);
  border-inline-start: 1px solid var(--estimate-receipt-line);
}

.p-83-tonight-estimate__result h3 {
  margin: 0;
  color: var(--estimate-receipt-ink);
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.5;
}

.p-83-tonight-estimate__result--member h3 {
  color: var(--estimate-receipt-gold);
}

.p-83-tonight-estimate__result--member h3 span {
  display: inline-block;
}

.p-83-tonight-estimate__result dl {
  margin: auto 0 0;
  padding-top: 13px;
}

.p-83-tonight-estimate__result dd {
  margin: 0 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.p-83-tonight-estimate__result dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 8px;
  padding-block: 3px;
  font-size: 12px;
}

.p-83-tonight-estimate__result dl > .p-83-tonight-estimate__total {
  display: grid;
  gap: 0;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--estimate-receipt-line);
}

.p-83-tonight-estimate__total dd {
  margin: 0;
  color: var(--estimate-receipt-ink);
  font-family: Georgia, serif;
  font-size: clamp(23px, 2.7vw, 43px);
  line-height: 1.23;
  overflow-wrap: anywhere;
}

.p-83-tonight-estimate__result--member .p-83-tonight-estimate__total dd {
  color: var(--estimate-receipt-gold);
}

.p-83-tonight-estimate__party,
.p-83-tonight-estimate__note {
  margin: 0;
  color: #d5c3a6;
  font-size: 11px;
  line-height: 1.65;
}

.p-83-tonight-estimate__party {
  margin-top: 3px;
}

.p-83-tonight-estimate__difference {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  margin: 16px 0 7px;
  padding-top: 10px;
  border-top: 1px solid var(--estimate-receipt-line);
  color: var(--estimate-receipt-gold);
  font-size: 14px;
  font-weight: 600;
}

.p-83-tonight-estimate__difference strong {
  font-family: Georgia, serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.p-83-tonight-estimate__difference :empty {
  display: none;
}

.p-83-tonight-estimate__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.p-83-tonight-estimate__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
}

.p-83-tonight-estimate__actions a {
  color: var(--estimate-receipt-ink);
  font-size: 12px;
  text-underline-offset: 4px;
}

.p-83-tonight-estimate__actions .soho-capsule-link {
  border-color: var(--estimate-receipt-gold);
  color: var(--estimate-receipt-gold);
}

.p-83-tonight-estimate__actions .soho-capsule-link:hover {
  background: var(--estimate-receipt-gold);
  color: #310b0d;
}

.p-83-tonight-estimate__actions a:focus-visible {
  outline-color: var(--estimate-receipt-gold);
}

@media (max-width: 960px) {
  .p-83-tonight-estimate__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-83-tonight-estimate__order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
  }

  .p-83-tonight-estimate__jump {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 4px;
    color: #6c191b;
    font-size: 13px;
    text-underline-offset: 4px;
  }

  .p-83-tonight-estimate__summary {
    scroll-margin-block-start: calc(var(--soho-sp-header-height, 96px) + 12px);
  }
}

@media (max-width: 768px) {
  .p-83-tonight-estimate__body {
    padding: 30px 20px 24px;
  }

  .p-83-tonight-estimate select,
  .p-83-tonight-estimate input {
    font-size: 16px;
  }
}

@media (max-width: 540px), (961px <= width <= 1150px) {
  .p-83-tonight-estimate__row {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
  }

  .p-83-tonight-estimate__row label:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .p-83-tonight-estimate__summary {
    padding: 16px;
  }
}
