.fnbk-purchase-shop-page .fnbk-shop-list {
  display: grid;
  gap: 16px;
}

.fnbk-purchase-shop-page .fnbk-purchase-shop-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
}

.fnbk-purchase-shop-page .fnbk-shop-item__info {
  min-width: 0;
  flex: 1 1 auto;
}

.site-body .wrapper .fnbk-purchase-shop-page .fnbk-shop-list .fnbk-shop-item__icon span,
.site-body .wrapper .fnbk-menu-box .fnbk-shop-info__icon span,
.site-body .wrapper .ticket-detail-box--fnbk .fnbk-shop-info__icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.04em;
}

.fnbk-purchase-shop-page .fnbk-shop-offer-contract[hidden] {
  display: none !important;
}

.fnbk-purchase-shop-page .fnbk-shop-purchase-actions {
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.fnbk-purchase-shop-page .fnbk-shop-purchase-actions > a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #004f87;
  border-radius: 7px;
  background: #004f87;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.fnbk-purchase-shop-page .fnbk-shop-purchase-actions > a.disabled,
.fnbk-purchase-shop-page .fnbk-shop-purchase-actions > a[aria-disabled="true"] {
  border-color: #aaa;
  background: #aaa;
  color: #fff;
}

.fnbk-ticket-buy-page [data-fnbk-purchase-notice="true"][data-fnbk-phase="selection"] {
  display: none;
}

.fnbk-ticket-buy-page > h3,
.fnbk-ticket-buy-page [data-fnbk-ticket-buy-root="true"] > .panel-heading,
.fnbk-ticket-buy-page [data-fnbk-selection-summary="true"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fnbk-ticket-buy-page [data-fnbk-ticket-buy-root="true"],
.fnbk-ticket-buy-page [data-fnbk-ticket-buy-root="true"] > .panel-body {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.fnbk-meal-section {
  min-width: 0;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}

.fnbk-meal-section__title {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: #004f87;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.fnbk-meal-section__help {
  margin: -5px 0 14px;
  color: #667085;
  font-size: 14px;
}

.fnbk-meal-list {
  display: grid;
  gap: 10px;
}

.fnbk-menu-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 118px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px 20px;
  border: 5px solid transparent;
  border-radius: 10px;
  background: #f4f4f4;
  box-sizing: border-box;
}

.fnbk-menu-choice-card.is-selected,
.fnbk-menu-choice-card[data-fnbk-selected="true"] {
  border-color: #004f87;
}

.fnbk-menu-choice-card:focus-within {
  outline: 3px solid rgba(0, 79, 135, .3);
  outline-offset: 2px;
}

.fnbk-menu-choice-card__ordinal {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #004f87;
  font-size: 18px;
  line-height: 1;
}

.fnbk-menu-choice-card__content {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  color: #004f87;
}

.fnbk-menu-choice-card__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fnbk-menu-choice-card__name {
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.fnbk-menu-choice-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.fnbk-menu-choice-card__stock {
  color: #004f87;
  font-weight: 700;
}

.fnbk-menu-choice-card__unavailable {
  color: #8a2c2c;
}

.fnbk-menu-choice-card__action {
  display: inline-flex;
  min-width: 108px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #004f87;
  border-radius: 6px;
  background: #004f87;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fnbk-menu-choice-card.is-selected .fnbk-menu-choice-card__action,
.fnbk-menu-choice-card[data-fnbk-selected="true"] .fnbk-menu-choice-card__action {
  border-color: #858585;
  background: #858585;
}

.fnbk-menu-choice-card__action:disabled {
  border-color: #b8b8b8;
  background: #b8b8b8;
  cursor: not-allowed;
  opacity: .8;
}

.fnbk-meal-section__errors {
  margin-top: 8px;
  color: #a12622;
  font-size: 14px;
}

.fnbk-meal-section__errors:empty {
  display: none;
}

.fnbk-ticket-buy-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.fnbk-ticket-buy-actions [data-fnbk-submit="true"] {
  min-width: 180px;
  min-height: 50px;
  border-color: #004f87;
  background: #004f87;
  font-weight: 800;
}

.fnbk-ticket-buy-actions [data-fnbk-submit="true"]:disabled {
  border-color: #aaa;
  background: #aaa;
  cursor: not-allowed;
}

@media (max-width: 740px) {
  .site-body .wrapper .fnbk-purchase-shop-page .fnbk-shop-list .fnbk-shop-item__icon span,
  .site-body .wrapper .fnbk-menu-box .fnbk-shop-info__icon span,
  .site-body .wrapper .ticket-detail-box--fnbk .fnbk-shop-info__icon span {
    font-size: 18px;
  }

  .fnbk-purchase-shop-page .fnbk-shop-list {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .fnbk-purchase-shop-page .fnbk-purchase-shop-card {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 20px;
  }

  .fnbk-purchase-shop-page .fnbk-shop-purchase-actions {
    align-self: flex-end;
    flex-basis: auto;
    width: auto;
  }

  .fnbk-menu-choice-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .fnbk-menu-choice-card__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .fnbk-ticket-buy-actions {
    flex-direction: column;
  }

  .fnbk-ticket-buy-actions [data-fnbk-submit="true"] {
    width: 100%;
  }
}
