/* ============================================================
   GoPass Terminal — Screen 11: Order Summary
   ============================================================ */

/* ── Steps (step 5 active) ── */
.steps-11 {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Title block ── */
.title-wrap-11 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 32px 0;
  text-align: center;
  flex-shrink: 0;
}

.title-wrap-11 .screen-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Title row hosts the screen title + optional HOSŤ pill side-by-side */
.title-row-11 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Guest pill — same treatment as the assigned-row pill (per frame 09c).
   Slightly larger here so it reads at the title scale. */
.title-row-11 .guest-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background: var(--brand-pink-soft);
  color: var(--brand-pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.title-row-11 .guest-pill[hidden] { display: none; }

/* ── Summary content slot ── */
.summary-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 28px 12px;
  flex-shrink: 0;
}

/* Product card */
.product-summary-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 6px 20px -6px rgba(27, 27, 92, 0.10);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 18px;
}

.product-thumb {
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-thumb i[data-lucide] {
  width: 26px;
  height: 26px;
  color: var(--brand-navy);
}

.product-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-cat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.product-qty-price {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-qty {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
}

.product-line-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-price);
}

/* Line items list (one row per category) */
.line-items-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Visible as a flat list, not a card — items are inside the breakdown card */
}

/* Pricing breakdown card */
.pricing-card {
  width: 100%;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 6px 20px -6px rgba(27, 27, 92, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
}

/* Line item rows inside the pricing card */
.price-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-row-label {
  font-size: 16px;
  color: var(--text-secondary);
}

.price-row-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.price-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

/* Grand total row */
.total-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.total-label {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.total-amount {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-price);
}

/* ── Spacer ── */
.flex-spacer {
  flex: 1;
}

/* ── Simulator demo control ── */
/* Visually matches the "Simulovať" button style on screen 07 */
.simulate-wrap-11 {
  width: 100%;
  padding: 0 32px 12px;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.btn-simulate-11 {
  height: 48px;
  background: transparent;
  border: 2px dashed var(--brand-pink);
  border-radius: 24px;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-pink);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s, background 0.15s;
}

.btn-simulate-11:hover {
  opacity: 1;
  background: var(--brand-pink-soft);
}

/* ── Footer pay button ── */
.btn-pay {
  height: 60px;
  background: var(--brand-pink);
  border-radius: 30px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 0 24px;
  cursor: pointer;
  color: var(--text-on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px -4px rgba(229, 20, 126, 0.4);
  transition: background 0.15s;
}

.btn-pay:hover {
  background: var(--brand-pink-dark);
}

.btn-pay i[data-lucide] {
  width: 20px;
  height: 20px;
}
