/* Bistro frontend — BEM */
.bistro-menu {
  margin: 1.5rem 0;
}
/* :where() keeps zero specificity so block supports and presets can override. */
:where(.bistro-menu__title) {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}
.bistro-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bistro-menu__item + .bistro-menu__item {
  margin-top: 1rem;
}
.bistro-product {
  padding: 0.75rem 0;
}
.bistro-product.wp-block-bistro-product-card.has-background {
  overflow: hidden;
}
.bistro-product__inner {
  display: block;
}
.bistro-product--layout-media-left .bistro-product__inner,
.bistro-product--layout-media-right .bistro-product__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bistro-product--layout-media-right .bistro-product__inner {
  flex-direction: row-reverse;
}
.bistro-product--layout-media-left .bistro-product__image,
.bistro-product--layout-media-right .bistro-product__image {
  flex: 0 0 auto;
  max-width: min(40%, 220px);
}
.bistro-product__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.bistro-product__image--cover {
  width: 100%;
  max-width: none;
  margin: 0 0 0.75rem;
}
.bistro-product__image--cover img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 6px;
}
.bistro-product__image--below {
  margin-top: 0.75rem;
}
.bistro-product__title--sold-out {
  text-decoration: line-through;
  opacity: 0.7;
}
.bistro-product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bistro-product-list__item + .bistro-product-list__item .bistro-product {
  padding-top: 1rem;
}
.bistro-product-card-editor__placeholder,
.bistro-product-element__placeholder {
  margin: 0;
  padding: 0.75rem;
  color: rgba(0, 0, 0, 0.55);
  font-style: italic;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.bistro-product-list-editor__label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.7;
}
.bistro-product__body {
  flex: 1;
  min-width: 0;
}
.bistro-product__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}
.bistro-product__title {
  margin: 0;
  font-size: 1.125rem;
}
.bistro-product__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 600;
}
.bistro-product__price-value {
  font-weight: inherit;
}
.bistro-product__allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
  --bistro-allergen-icon-size: 1.1em;
}
.bistro-product__allergens--stack {
  flex-direction: column;
  flex-wrap: nowrap;
}
.bistro-product__allergens--grid {
  display: grid;
  grid-template-columns: repeat(var(--bistro-allergen-columns, 3), minmax(0, 1fr));
}
.bistro-product__allergens--align-start {
  justify-content: flex-start;
}
.bistro-product__allergens--align-center {
  justify-content: center;
}
.bistro-product__allergens--align-end {
  justify-content: flex-end;
}
.bistro-product__allergens--stack.bistro-product__allergens--align-start {
  align-items: flex-start;
}
.bistro-product__allergens--stack.bistro-product__allergens--align-center {
  align-items: center;
}
.bistro-product__allergens--stack.bistro-product__allergens--align-end {
  align-items: flex-end;
}
.bistro-product__allergens--grid.bistro-product__allergens--align-start {
  justify-items: start;
}
.bistro-product__allergens--grid.bistro-product__allergens--align-center {
  justify-items: center;
}
.bistro-product__allergens--grid.bistro-product__allergens--align-end {
  justify-items: end;
}
.bistro-product__allergens--gap-small {
  gap: 0.2rem;
}
.bistro-product__allergens--gap-medium {
  gap: 0.5rem;
}
.bistro-product__allergens--gap-large {
  gap: 1rem;
}
.bistro-product__allergens--icons-small {
  --bistro-allergen-icon-size: 0.85em;
}
.bistro-product__allergens--icons-large {
  --bistro-allergen-icon-size: 1.5em;
}
.bistro-product__allergen {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.bistro-product__allergen-icon {
  width: var(--bistro-allergen-icon-size);
  height: var(--bistro-allergen-icon-size);
  flex: 0 0 var(--bistro-allergen-icon-size);
  object-fit: contain;
}
@media (max-width: 600px) {
  .bistro-product__allergens--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bistro-product--sold-out .bistro-product__title {
  text-decoration: line-through;
  opacity: 0.7;
}
.bistro-product__sold-out {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.bistro-schedule {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}
.bistro-schedule--open {
  background: #e8f5e9;
}
.bistro-schedule--closed {
  background: #ffebee;
}
.bistro-schedule--holiday {
  background: #fff3e0;
}
.bistro-schedule__message {
  margin: 0;
  font-weight: 600;
}
.bistro-schedule__submessage {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}
.bistro-events__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bistro-events__item + .bistro-events__item {
  margin-top: 1.25rem;
}

.bistro-opening-hours {
  margin: 1rem 0;
}
.bistro-opening-hours__list,
.bistro-opening-hours__day,
.bistro-opening-hours__label,
.bistro-opening-hours__times {
  line-height: inherit;
}
.bistro-opening-hours__title {
  margin: 0 0 0.75rem;
}
.bistro-opening-hours__list {
  margin: 0;
  padding: 0;
}
.bistro-opening-hours--no-bullets .bistro-opening-hours__list {
  list-style: none;
  padding-left: 0;
}
.bistro-opening-hours--no-bullets .bistro-opening-hours__day {
  list-style: none;
}
.bistro-opening-hours--no-bullets .bistro-opening-hours__day::marker {
  content: none;
}
.bistro-opening-hours--bullets .bistro-opening-hours__list {
  list-style: disc;
  padding-left: 1.25em;
}
.bistro-opening-hours__day {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.bistro-opening-hours--layout-space-between .bistro-opening-hours__day {
  justify-content: space-between;
}
.bistro-opening-hours--layout-space-between:not(.bistro-opening-hours--connector-dotted):not(.bistro-opening-hours--connector-solid) .bistro-opening-hours__day {
  gap: 1rem;
}
.bistro-opening-hours--connector-dotted .bistro-opening-hours__day,
.bistro-opening-hours--connector-solid .bistro-opening-hours__day {
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.15em;
}
.bistro-opening-hours--connector-dotted .bistro-opening-hours__label,
.bistro-opening-hours--connector-solid .bistro-opening-hours__label {
  min-width: 0;
  flex: 0 0 auto;
}
.bistro-opening-hours__leader {
  flex: 1 1 auto;
  min-width: 0.5rem;
  height: 0;
  align-self: flex-end;
  margin: 0 0 0.3em;
  border: 0;
  border-bottom: 1px dotted currentColor;
  opacity: 0.4;
}
.bistro-opening-hours--connector-solid .bistro-opening-hours__leader {
  border-bottom-style: solid;
}
.bistro-opening-hours--connector-dotted .bistro-opening-hours__leader {
  border-bottom-style: dotted;
}
.bistro-opening-hours--connector-dotted .bistro-opening-hours__times,
.bistro-opening-hours--connector-solid .bistro-opening-hours__times {
  flex: 0 0 auto;
  text-align: right;
}
.bistro-opening-hours--no-borders .bistro-opening-hours__day {
  border-bottom: 0;
}
.bistro-opening-hours--stacked .bistro-opening-hours__day {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.bistro-opening-hours__day--today {
  font-weight: 600;
}
.bistro-opening-hours__label {
  min-width: 6rem;
}
.bistro-opening-hours__times {
  flex: 1;
}
.bistro-opening-hours__times--align-left {
  text-align: left;
}
.bistro-opening-hours__times--align-center {
  text-align: center;
}
.bistro-opening-hours__times--align-right {
  text-align: right;
}
.bistro-opening-hours--stacked .bistro-opening-hours__times {
  flex: none;
  width: 100%;
}
.bistro-event__title {
  margin: 0 0 0.25rem;
}
.bistro-event__datetime {
  display: block;
  font-size: 0.95rem;
}
.bistro-event__booking-link {
  font-weight: 600;
}

.bistro-formula-list {
  display: grid;
  gap: 1.5rem;
}
.bistro-formula {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
}
.bistro-formula__thumbnail {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}
.bistro-formula__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.bistro-formula__title {
  margin: 0;
}
.bistro-formula__price {
  flex: none;
  font-weight: 700;
}
.bistro-formula__description > :first-child {
  margin-top: 0.5rem;
}
.bistro-formula__products {
  margin-bottom: 0;
}
.bistro-formula__variants {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.bistro-formula__variant-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.bistro-formula__variant-label {
  font-weight: 600;
}
@media (max-width: 600px) {
  .bistro-formula {
    grid-template-columns: 1fr;
  }
}
