/* combinations.css — Mix & Match: Combinations Lab */

.combo-groups {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
@media (max-width: 980px) {
  .combo-groups {
    grid-template-columns: 1fr;
  }
}

.story-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 18px;
}

.combo-diagram {
  gap: 13px;
  padding: 18px 16px;
}

/* Menu Board */
.menu-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  width: 100%;
}

.menu-col {
  background: #fffdf8;
  border: 1.5px solid #d4dec9;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-col-head {
  background: #edf2e5;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border-bottom: 1px solid #d8e0ce;
}

.menu-col-count {
  background: #fff;
  border: 1px solid #c5d1b8;
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 11px;
  color: #365642;
}

.menu-col-items {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-item {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 7px;
  border-radius: 8px;
  background: #f7f9f3;
  border: 1px solid #e1e7d8;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 5px;
}

.menu-item.skip-item {
  background: #fdf3d4;
  border: 1.5px dashed #d6a234;
  color: #6b4705;
  font-weight: 800;
}

.menu-item.blocked-item {
  background: #fdeae4;
  border: 1.5px dashed #c96e4b;
  color: #8c3d22;
  text-decoration: line-through;
}

/* Slot multiplication strip */
.slot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.slot-card {
  background: #fff;
  border: 1.5px solid #c9d5be;
  border-radius: 12px;
  padding: 9px 12px;
  text-align: center;
  min-width: 78px;
}

.slot-card.is-highlight {
  background: #fef3d2;
  border: 2px solid #dfa938;
  box-shadow: 0 2px 8px rgba(223, 169, 56, 0.2);
}

.slot-card.is-total {
  background: #e6f2e1;
  border: 2px solid #6ba264;
}

.slot-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 3px;
}

.slot-val {
  display: block;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.slot-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #627264;
  margin-top: 2px;
}

.slot-op {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--green);
}

/* Empty tray & rule alert card */
.empty-tray-card {
  background: #fdeae4;
  border: 2px dashed #c96e4b;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #84371c;
  width: 100%;
}

.empty-tray-card s {
  opacity: 0.9;
}

.combo-summary-pill {
  background: #e6f2e1;
  border: 1.5px solid #72a96a;
  color: #1f5c35;
  border-radius: 12px;
  padding: 9px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  width: 100%;
}

/* Yes/No Toppings */
.yesno-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  width: 100%;
}

.yesno-card {
  background: #fffdf8;
  border: 1.5px solid #d4dec9;
  border-radius: 11px;
  padding: 8px;
  text-align: center;
}

.yesno-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.yn-pills {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.yn-yes, .yn-no {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.yn-yes {
  background: #e2f1dc;
  color: #215931;
  border: 1px solid #96c38d;
}

.yn-no {
  background: #fbe8e2;
  color: #8b3b22;
  border: 1px solid #dfa290;
}

/* Pair staircase */
.pair-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.pair-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #fffdf8;
  border: 1px solid #d9dfcd;
  border-radius: 10px;
  font-size: 12px;
}

.pair-row-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.pair-chip {
  background: #eef2e5;
  border-radius: 8px;
  padding: 2px 7px;
  font-weight: 600;
}

.pair-count {
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}

/* Path SVG & Dial cards */
.path-svg {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid #d4dec9;
  border-radius: 12px;
}

.dial-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.dial-box {
  background: #fff;
  border: 2px solid #315b48;
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 92px;
  text-align: center;
  box-shadow: 0 2px 0 #d5decb;
}

.dial-box strong {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.dial-box span {
  display: block;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 3px;
}

@media (max-width: 640px) {
  .menu-board {
    grid-template-columns: 1fr;
  }
  .slot-card {
    min-width: 66px;
    padding: 7px 9px;
  }
  .slot-val {
    font-size: 17px;
  }
}
