/* =============================================
   BRS CATERING — Global Theme
   Warm food palette  |  Operator-speed UI
   ============================================= */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --cat-maroon: #7b1a1a;
  --cat-maroon-lt: #a32b2b;
  --cat-saffron: #e8890c;
  --cat-saffron-lt: #f5a623;
  --cat-green: #1e6641;
  --cat-green-lt: #27855a;
  --cat-cream: #fdf6ec;
  --cat-cream-dk: #f5ece0;
  --cat-sand: #e9ddd0;
  --cat-text: #2d1a0e;
  --cat-muted: #7a6353;
  --cat-white: #ffffff;
  --cat-border: #e0d2c4;
  --shadow-sm: 0 2px 8px rgba(123, 26, 26, .08);
  --shadow-md: 0 4px 20px rgba(123, 26, 26, .12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* ---------- Base ---------- */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cat-cream);
  color: var(--cat-text);
}

/* ---------- Page Header Bar ---------- */
.cat-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--cat-maroon) 0%, var(--cat-maroon-lt) 100%);
  border-radius: var(--radius-md);
  color: var(--cat-white);
  box-shadow: var(--shadow-md);
}

.cat-page-header h1,
.cat-page-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cat-white);
  letter-spacing: -0.3px;
}

.cat-page-header .page-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .7);
  margin-top: 2px;
}

.cat-page-header .header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-page-header .header-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* ---------- Buttons ---------- */
.btn-cat-primary {
  background: linear-gradient(135deg, var(--cat-maroon), var(--cat-maroon-lt));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(123, 26, 26, .3);
  letter-spacing: 0.2px;
}

.btn-cat-primary:hover {
  background: linear-gradient(135deg, var(--cat-maroon-lt), var(--cat-maroon));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(123, 26, 26, .4);
}

.btn-cat-primary:active {
  transform: translateY(0);
}

.btn-cat-saffron {
  background: linear-gradient(135deg, var(--cat-saffron), var(--cat-saffron-lt));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(232, 137, 12, .3);
}

.btn-cat-saffron:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-cat-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--cat-maroon);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.btn-cat-outline:hover {
  background: var(--cat-maroon);
  color: #fff;
}

.btn-cat-danger {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-cat-danger:hover {
  background: #a93226;
  color: #fff;
}

/* Icon-only action buttons */
.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: none;
  transition: all 0.18s;
  flex-shrink: 0;
}

.btn-icon-view {
  background: #e8f4fd;
  color: #0d6efd;
}

.btn-icon-edit {
  background: #fff3e0;
  color: var(--cat-saffron);
}

.btn-icon-delete {
  background: #fde8e8;
  color: #c0392b;
}

.btn-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---------- Cards ---------- */
.cat-card {
  background: var(--cat-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cat-border);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.cat-card:hover {
  box-shadow: var(--shadow-md);
}

.cat-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--cat-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--cat-cream-dk);
}

.cat-card-header h5,
.cat-card-header h6 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cat-maroon);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-card-body {
  padding: 20px;
}

/* ---------- Stat Cards (Dashboard) ---------- */
.stat-card-cat {
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.stat-card-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.stat-card-cat .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-card-cat .stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-cat .stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
}

/* Colour variants */
.stat-maroon {
  background: linear-gradient(135deg, #7b1a1a, #a32b2b);
  color: #fff;
}

.stat-maroon .stat-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.stat-saffron {
  background: linear-gradient(135deg, #e8890c, #f5a623);
  color: #fff;
}

.stat-saffron .stat-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.stat-green {
  background: linear-gradient(135deg, #1e6641, #27855a);
  color: #fff;
}

.stat-green .stat-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.stat-navy {
  background: linear-gradient(135deg, #154360, #1a5276);
  color: #fff;
}

.stat-navy .stat-icon {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

/* ---------- Table ---------- */
.cat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.cat-table thead tr {
  background: var(--cat-maroon);
  color: #fff;
}

.cat-table thead th {
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  border: none;
}

.cat-table tbody tr {
  border-bottom: 1px solid var(--cat-border);
  transition: background 0.15s;
}

.cat-table tbody tr:hover {
  background: var(--cat-cream);
}

.cat-table tbody td {
  padding: 13px 16px;
  vertical-align: middle;
}

.cat-table.row-today tbody tr.today-row {
  background: #fff8e6;
  border-left: 4px solid var(--cat-saffron);
}

.cat-table.row-past tbody tr.past-row {
  background: #f5f5f5;
  opacity: 0.8;
}

/* ---------- Status Badges ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

.status-confirmed {
  background: #cff4fc;
  color: #055160;
  border: 1px solid #0dcaf0;
}

.status-in-progress {
  background: #cfe2ff;
  color: #084298;
  border: 1px solid #0d6efd;
}

.status-completed {
  background: #d1e7dd;
  color: #0a3622;
  border: 1px solid #198754;
}

.status-cancelled {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #dc3545;
}

/* Payment status */
.pay-paid {
  background: #d1e7dd;
  color: #0a3622;
}

.pay-partial {
  background: #fff3cd;
  color: #664d03;
}

.pay-unpaid {
  background: #f8d7da;
  color: #842029;
}

/* ---------- Upcoming Event Alert Cards ---------- */
.event-alert-card {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-left: 4px solid var(--cat-saffron);
  background: #fffbf2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
}

.event-alert-card:hover {
  box-shadow: var(--shadow-sm);
}

.event-alert-card.today {
  border-left-color: var(--cat-maroon);
  background: #fff6f6;
}

.event-alert-card .event-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cat-maroon);
}

.event-alert-card .event-meta {
  font-size: 0.78rem;
  color: var(--cat-muted);
  margin-top: 2px;
}

.event-alert-card .event-amount {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cat-maroon);
}

/* ---------- Summary / KPI Strip ---------- */
.kpi-strip {
  display: flex;
  gap: 4px;
  background: var(--cat-cream-dk);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.kpi-strip-item {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: default;
}

.kpi-strip-item .kpi-val {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
}

/* ---------- Order Status Timeline (show page) ---------- */
.order-status-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.timeline-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s;
  background: var(--cat-sand);
  color: var(--cat-muted);
}

.timeline-step.done .timeline-circle {
  box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

.timeline-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
  color: var(--cat-muted);
}

.timeline-step.done .timeline-step-label {
  color: var(--cat-maroon);
}

.timeline-line {
  height: 3px;
  background: var(--cat-sand);
  flex: 1;
  position: relative;
  top: -16px;
  z-index: 0;
  transition: background 0.4s;
}

.timeline-line.active {
  background: var(--cat-maroon);
}

/* ---------- Summary Detail Rows ---------- */
.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cat-border);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .detail-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--cat-cream-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-maroon);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.detail-row .detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--cat-muted);
  margin-bottom: 2px;
}

.detail-row .detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cat-text);
}

/* ---------- Total Display ---------- */
.total-display {
  background: linear-gradient(135deg, var(--cat-maroon), var(--cat-maroon-lt));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
}

.total-display .total-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: .75;
  margin-bottom: 4px;
}

.total-display .total-value {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- Payment Summary Boxes ---------- */
.pay-box {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  background: var(--cat-cream-dk);
}

.pay-box .pay-val {
  font-size: 1.5rem;
  font-weight: 800;
}

.pay-box .pay-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--cat-muted);
  margin-top: 4px;
}

/* ---------- Menu Item Row ---------- */
/* .menu-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cat-border);
} */

.menu-item-row:last-child {
  border-bottom: none;
}

.menu-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cat-cream-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-saffron);
  font-size: 1rem;
  flex-shrink: 0;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cat-text);
}

.menu-item-cat {
  font-size: 0.75rem;
  color: var(--cat-muted);
}

.qty-pill {
  background: var(--cat-maroon);
  color: #fff;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Search Bar ---------- */
.cat-search {
  position: relative;
  max-width: 280px;
}

.cat-search input {
  border: 2px solid var(--cat-border);
  border-radius: 50px;
  padding: 9px 16px 9px 40px;
  font-size: 0.875rem;
  background: var(--cat-white);
  color: var(--cat-text);
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.cat-search input:focus {
  border-color: var(--cat-maroon);
}

.cat-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cat-muted);
  font-size: 0.85rem;
}

/* ---------- Section Divider ---------- */
.cat-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cat-maroon);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cat-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .cat-page-header {
    padding: 14px 16px;
  }

  .cat-page-header h1,
  .cat-page-header h2 {
    font-size: 1.15rem;
  }

  .stat-card-cat {
    padding: 16px 14px;
  }

  .stat-card-cat .stat-value {
    font-size: 1.6rem;
  }

  .cat-table thead {
    display: none;
  }

  .cat-table tbody td {
    padding: 8px 12px;
  }

  .total-display .total-value {
    font-size: 1.8rem;
  }

  .kpi-strip {
    flex-wrap: wrap;
  }

  .kpi-strip-item {
    flex: 1 1 45%;
  }

  .btn-cat-primary,
  .btn-cat-outline {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

/* ---------- DataTables Override ---------- */
.dataTables_wrapper .dataTables_filter input {
  border: 2px solid var(--cat-border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--cat-maroon);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length {
  font-size: 0.8rem;
  color: var(--cat-muted);
}

/* ---------- Toastr override ---------- */
#toast-container>.toast-success {
  background-color: var(--cat-green);
}

#toast-container>.toast-error {
  background-color: #c0392b;
}

/* =============================================
   INVOICE / SHOW PAGE — Reusable Components
   ============================================= */

/* -- Invoice 2-column layout -- */
.inv-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

@media(max-width:991px) {
  .inv-layout {
    grid-template-columns: 1fr;
  }
}

.inv-sidebar {
  position: sticky;
  top: 72px;
}

@media(max-width:991px) {
  .inv-sidebar {
    position: static;
  }
}

/* -- Invoice header card -- */
.inv-header-card {
  background: linear-gradient(135deg, var(--cat-maroon) 0%, #5c1111 100%);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.inv-header-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.inv-header-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: 60px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.inv-number {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
  margin-bottom: 4px;
}

.inv-customer {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
}

.inv-meta {
  font-size: .82rem;
  opacity: .75;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.inv-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* -- Info bar (strip below header) -- */
.inv-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--cat-cream-dk);
  border: 1px solid var(--cat-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

@media(max-width:767px) {
  .inv-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.inv-info-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--cat-border);
}

.inv-info-cell:last-child {
  border-right: none;
}

@media(max-width:767px) {
  .inv-info-cell:nth-child(2) {
    border-right: none;
  }

  .inv-info-cell:nth-child(1),
  .inv-info-cell:nth-child(2) {
    border-bottom: 1px solid var(--cat-border);
  }
}

.inv-info-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--cat-muted);
  margin-bottom: 4px;
}

.inv-info-value {
  font-size: .92rem;
  font-weight: 700;
  color: var(--cat-text);
}

/* -- Invoice menu rows -- */
.inv-menu-thead {
  display: grid;
  grid-template-columns: 1fr 90px 90px 100px;
  gap: 0;
  background: var(--cat-maroon);
  padding: 10px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.inv-menu-thead span {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .85);
}

@media(max-width:767px) {
  .inv-menu-thead {
    display: none;
  }
}

.inv-menu-row {
  display: grid;
  grid-template-columns: 1fr 90px 90px 100px;
  gap: 0;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--cat-border);
  transition: background .15s;
}

.inv-menu-row:hover {
  background: var(--cat-cream);
}

.inv-menu-row:last-child {
  border-bottom: none;
}

@media(max-width:767px) {
  .inv-menu-row {
    grid-template-columns: 1fr auto;
  }

  .inv-col-unit,
  .inv-col-price {
    display: none;
  }
}

.inv-col-unit {
  text-align: right;
  color: var(--cat-muted);
  font-size: .82rem;
}

.inv-col-price {
  text-align: right;
  color: var(--cat-muted);
  font-size: .82rem;
}

.inv-col-total {
  text-align: right;
  font-weight: 700;
  color: var(--cat-maroon);
  font-size: .92rem;
}

/* -- Delivery slot card -- */
.delivery-slot {
  border: 1px solid var(--cat-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.delivery-slot-head {
  background: var(--cat-maroon);
  color: #fff;
  padding: 9px 14px;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delivery-slot-body {
  padding: 10px 14px;
  background: var(--cat-white);
}

.delivery-slot-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: .83rem;
  border-bottom: 1px solid var(--cat-border);
}

.delivery-slot-row:last-child {
  border-bottom: none;
}

/* -- Submenu tag -- */
.submenu-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cat-cream-dk);
  border: 1px solid var(--cat-border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cat-text);
}

.submenu-tag i {
  color: var(--cat-maroon);
  font-size: .75rem;
}

/* -- Price sidebar -- */
.price-sidebar {
  background: var(--cat-white);
  border: 1px solid var(--cat-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.price-sidebar-head {
  background: linear-gradient(135deg, var(--cat-maroon) 0%, #5c1111 100%);
  color: #fff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: .87rem;
  border-bottom: 1px solid var(--cat-border);
}

.price-line:last-child {
  border-bottom: none;
}

.price-line .pl-label {
  color: var(--cat-muted);
  font-weight: 500;
}

.price-line .pl-val {
  font-weight: 700;
  color: var(--cat-text);
}

.price-line.pl-total {
  background: var(--cat-cream-dk);
  padding: 14px 20px;
}

.price-line.pl-total .pl-label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--cat-maroon);
}

.price-line.pl-total .pl-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cat-maroon);
}

.sidebar-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 20px;
  background: var(--cat-cream-dk);
}

.sidebar-pay-box {
  text-align: center;
  background: var(--cat-white);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  border: 1px solid var(--cat-border);
}

.sidebar-pay-box .spb-val {
  font-size: 1.2rem;
  font-weight: 800;
}

.sidebar-pay-box .spb-label {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--cat-muted);
  margin-top: 3px;
}

/* -- Compact status timeline -- */
.compact-timeline {
  display: flex;
  align-items: center;
  gap: 0;
}

.ct-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.ct-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  border: 2px solid var(--cat-sand);
  background: var(--cat-sand);
  color: var(--cat-muted);
  transition: all .3s;
}

.ct-step.done .ct-circle {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.ct-label {
  font-size: .65rem;
  font-weight: 600;
  margin-top: 5px;
  color: var(--cat-muted);
  text-align: center;
}

.ct-step.done .ct-label {
  color: var(--cat-maroon);
}

.ct-line {
  height: 2px;
  background: var(--cat-sand);
  flex: 1;
  margin-bottom: 22px;
  transition: background .4s;
}

.ct-line.active {
  background: var(--cat-maroon);
}