/* Flow Divi Modules — front-end layout the modules depend on. Design/colour
   come from Divi's own design tabs; this only supplies the structural alignment
   that plain text modules cannot do (aligned two columns + a filling leader). */

.flow_hours_table__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow_hours_row {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0.4em 0;
}

.flow_hours_row__day {
  flex: 0 0 auto;
  white-space: nowrap;
}

.flow_hours_row__leader {
  flex: 1 1 auto;
  min-width: 1.5em;
  align-self: center;
  height: 0;
  border-bottom: 1px dotted currentColor;
  opacity: 0.4;
}

.flow_hours_table__list[data-leader="none"] .flow_hours_row__leader { border-bottom: 0; }
.flow_hours_table__list[data-leader="solid"] .flow_hours_row__leader { border-bottom-style: solid; }

.flow_hours_row__hours {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
}

.flow_hours_row--closed {
  opacity: 0.6;
}
.flow_hours_row--closed .flow_hours_row__hours {
  font-style: italic;
}

/* --- Menu list (name · leader · price + description) --- */
.flow_menu_list__items { display: grid; gap: 1.1em; }
.flow_menu_list__items[data-columns="2"] {
  grid-template-columns: 1fr 1fr;
  gap: 1.1em 2.2em;
}
.flow_menu_item__head { display: flex; align-items: baseline; gap: 0.5em; }
.flow_menu_item__name { flex: 0 0 auto; font-weight: 600; }
.flow_menu_item__leader { flex: 1 1 auto; min-width: 1.5em; align-self: center; height: 0; border-bottom: 1px dotted currentColor; opacity: 0.4; }
.flow_menu_list__items[data-leader="none"] .flow_menu_item__leader { border-bottom: 0; }
.flow_menu_list__items[data-leader="solid"] .flow_menu_item__leader { border-bottom-style: solid; }
.flow_menu_item__price { flex: 0 0 auto; white-space: nowrap; font-weight: 600; }
.flow_menu_item__price2 { margin-left: 0.4em; opacity: 0.7; }
.flow_menu_item__desc { opacity: 0.8; margin-top: 0.15em; }

/* --- Badge / ribbon overlay (placed inside a position:relative card) --- */
.flow_badge { position: absolute; z-index: 2; padding: 0.3em 0.8em; font-size: 0.8em; font-weight: 700; line-height: 1.2; background: #111; color: #fff; }
.flow_badge--pill { border-radius: 999px; }
.flow_badge--circle { border-radius: 999px; width: 3.4em; height: 3.4em; display: flex; align-items: center; justify-content: center; text-align: center; }
.flow_badge--top-left { top: 0.8em; left: 0.8em; }
.flow_badge--top-right { top: 0.8em; right: 0.8em; }
.flow_badge--bottom-left { bottom: 0.8em; left: 0.8em; }
.flow_badge--bottom-right { bottom: 0.8em; right: 0.8em; }
.flow_badge--ribbon, .flow_badge--corner-banner { top: 0.9em; right: -0.4em; box-shadow: 0 2px 4px rgba(0,0,0,.2); }

/* --- Comparison table (label + fixed value columns) --- */
.flow_comparison_table__head, .flow_comparison_row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; gap: 0.5em; }
.flow_comparison_table__head { font-weight: 700; padding-bottom: 0.6em; border-bottom: 2px solid currentColor; }
.flow_comparison_table__col, .flow_comparison_row__cell { text-align: center; }
.flow_comparison_row { padding: 0.55em 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.flow_comparison_row__label { font-weight: 600; }

/* Divi's .et_pb_module forces position:relative on module wrappers; the badge and
   shape divider are corner/edge overlays, so restore their absolute positioning at
   higher specificity now that they render as real Divi modules. */
.et_pb_module.flow_badge,
.et_pb_module.flow_divider { position: absolute; }

/* --- Shape divider (drop as first/last element of a position:relative section) --- */
.flow_divider { position: absolute; left: 0; width: 100%; line-height: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.flow_divider--bottom { bottom: 0; }
.flow_divider--top { top: 0; }
.flow_divider__svg { display: block; width: 100%; height: 100%; }
.flow_divider--top .flow_divider__svg { transform: rotate(180deg); }
