/* ── Design tokens ── */
:root {
  --brand-primary:   #2e4db5;
  --brand-dark:      #1a3285;
  --brand-gold:      #e8a020;
  --brand-gold-soft: #fef3c7;
  --bg-main:         #f6f7fb;
  --bg-card:         #ffffff;
  --radius-card:     16px;
  --shadow-sm:       0 2px 8px rgba(46,77,181,0.07);
  --shadow-md:       0 6px 24px rgba(46,77,181,0.13);
  --shadow-lg:       0 12px 36px rgba(46,77,181,0.18);
}

/* Override Bootstrap primary */
:root {
  --bs-primary:       var(--brand-primary);
  --bs-primary-rgb:   46,77,181;
  --bs-link-color:    var(--brand-primary);
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg-main);
  color: #1e2a3a;
}

/* ── Store info strip ── */
.store-info-strip {
  background: #f0f4ff;
  border-bottom: 1px solid rgba(46,77,181,0.12);
  padding: 6px 0;
  font-size: 0.8rem;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #374151;
  white-space: nowrap;
}
.info-chip i { color: var(--brand-primary); font-size: 0.75rem; }
.info-chip-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  border-bottom: 1px dashed rgba(46,77,181,0.35);
  transition: color 0.15s, border-color 0.15s;
}
.info-chip-link:hover {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}
.info-chip-wa {
  text-decoration: none;
  color: #15803d;
  font-weight: 600;
}
.info-chip-wa i { color: #16a34a; }
.info-chip-wa:hover { color: #166534; }
.info-chip-waze {
  text-decoration: none;
  color: #00a0de;
  font-weight: 600;
  border-bottom: 1px dashed rgba(0,160,222,0.4);
}
.info-chip-waze i { color: #00a0de; }
.info-chip-waze:hover { color: #0078a8; border-bottom-color: #0078a8; }

/* ── Footer nav buttons (Waze / Google Maps) ── */
.footer-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid;
  transition: opacity 0.15s, transform 0.12s;
}
.footer-nav-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-nav-waze  { color: #33ccff; border-color: rgba(51,204,255,0.5); }
.footer-nav-google { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ── Category icon cards (no image) ── */
.cat-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px 16px;
}
.cat-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8eeff 0%, #d4dcff 100%);
  color: var(--brand-primary);
  transition: transform 0.2s;
}
.subcategory-card:hover .cat-icon-wrap,
a:hover .cat-icon-wrap {
  transform: scale(1.08);
}
/* Per-category icon colours */
.cat-icon-judaica  { background: linear-gradient(135deg, #fffbe8, #fef3c7); color: #b45309; }
.cat-icon-chish    { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.cat-icon-baby-products { background: linear-gradient(135deg, #fdf2f8, #fce7f3); color: #be185d; }
.cat-icon-sifrei-limud-beit-sefer { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #1d4ed8; }

.cat-icon-label {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: #1e2a3a;
  line-height: 1.3;
}

/* Always show top accent on category cards */
.subcategory-card::before { opacity: 1; }

/* ── Welcome hero ── */
.welcome-hero {
  background: linear-gradient(135deg, #1a3285 0%, #2e4db5 55%, #3d62d4 100%);
  border-radius: var(--radius-card);
  padding: 28px 20px 24px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.welcome-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.welcome-logo {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brand-gold);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.welcome-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.welcome-sub {
  font-size: 0.88rem;
  opacity: 0.82;
  margin-top: 6px;
  font-weight: 400;
}
@media (max-width: 576px) {
  .welcome-logo  { font-size: 2.2rem; }
  .welcome-title { font-size: 1.1rem; }
}

/* ── Section heading with gold accent ── */
.section-heading {
  font-weight: 700;
  color: #1a3285;
  position: relative;
  padding-bottom: 10px;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-primary));
  border-radius: 2px;
}

/* ── Category image cards — hover zoom ── */
.subcategory-card .d-flex.flex-column {
  overflow: hidden;
}
.subcategory-card img {
  transition: transform 0.32s ease;
  border-radius: 8px;
}
.subcategory-card:hover img {
  transform: scale(1.08);
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--brand-gold) !important;
  outline-offset: 2px !important;
}

/* ── Navbar ── */
.navbar {
  background: linear-gradient(110deg, #1a3285 0%, #2e4db5 60%, #3d62d4 100%) !important;
  box-shadow: 0 3px 20px rgba(26,50,133,0.30) !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand {
  letter-spacing: 0.01em;
  font-size: 1.25rem !important;
}

.navbar .btn-light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 10px;
  transition: background 0.2s;
}
.navbar .btn-light:hover {
  background: rgba(255,255,255,0.28);
}

.navbar .btn-outline-light {
  border-radius: 10px;
}

/* ── Cart badge ── */
.cart-badge {
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gold) !important;
  color: #1e2a3a !important;
  font-weight: 800;
}

/* ── Search bar ── */
#search-bar {
  background: linear-gradient(110deg, #1a3285, #2e4db5) !important;
}

/* ── Main container ── */
main.container {
  padding-top: 1.75rem !important;
  padding-bottom: 2.5rem !important;
}

/* ── Product cards ── */
.product-card {
  border: none !important;
  border-radius: var(--radius-card) !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  height: 430px !important;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.product-card .card-body {
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  border-top: 1px solid rgba(46,77,181,0.07);
}

.product-card .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  line-height: 1.4;
  font-size: 0.9rem;
}

.product-img {
  height: 175px;
  object-fit: contain;
  background: linear-gradient(160deg, #f5f7ff 0%, #eaecf7 100%);
  padding: 10px;
  flex-shrink: 0;
}

.product-img-placeholder {
  height: 175px;
  background: linear-gradient(160deg, #f5f7ff 0%, #eaecf7 100%);
  flex-shrink: 0;
}

/* Price styling */
.product-card .text-primary {
  color: var(--brand-primary) !important;
}

/* Product price — prominent display */
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Add-to-cart row: never wrap — prevents height mismatch */
.product-card .card-body .add-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: nowrap;
}
.product-card .card-body .add-row .input-group {
  width: 90px;
  flex-shrink: 0;
}
.product-card .card-body .add-row .btn-primary {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

/* "בחר פרטים" button */
.product-card .card-body .btn-primary.w-100 {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.75rem;
}

/* Out of stock badge */
.product-card .badge.bg-secondary {
  background: #e5e7eb !important;
  color: #6b7280 !important;
  font-size: 0.75rem;
  padding: 0.4em 0.8em;
  border-radius: 20px;
  font-weight: 600;
}

/* Product image as link */
.product-img-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  flex-shrink: 0;
  position: relative;
}
.product-img-link .product-img,
.product-img-link .product-img-placeholder {
  transition: transform 0.32s ease;
}
.product-img-link:hover .product-img,
.product-img-link:hover .product-img-placeholder {
  transform: scale(1.07);
}
/* Hover overlay — blue tint + zoom icon */
.product-img-link::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(46,77,181,0);
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.product-img-link:hover::after {
  opacity: 1;
  background: rgba(46,77,181,0.28);
}

/* Description — clamp to 2 lines, same height always */
.product-card .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  line-height: 1.35;
  margin-bottom: 0;
}

/* ── Category list items (text-only, no image) ── */
.cat-list-item {
  border-radius: var(--radius-card) !important;
  border: 2px solid transparent !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
  color: #1e2a3a;
}
.cat-list-item:hover {
  border-color: var(--brand-primary) !important;
  background: #f0f3ff;
  transform: translateX(-3px);
  box-shadow: var(--shadow-md) !important;
  color: var(--brand-primary);
}
.cat-list-item:hover span {
  color: var(--brand-primary);
}
.cat-list-item:hover .fa-chevron-right {
  transform: translateX(-3px);
  transition: transform 0.18s;
}

/* ── Category / subcategory cards ── */
.subcategory-card {
  border-radius: var(--radius-card) !important;
  border: 2px solid transparent !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.subcategory-card:hover {
  border-color: var(--brand-primary) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

/* Category cards — gold top accent bar */
.subcategory-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-primary));
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.subcategory-card:hover::before {
  opacity: 1;
}

/* ── Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(46,77,181,0.35);
  transform: translateY(-1px);
  border: none;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-secondary {
  border-radius: 8px;
}

/* Add-to-cart success state */
.btn-success {
  border-radius: 10px;
}

/* ── Input group (qty) ── */
.input-group .btn-outline-secondary {
  border-color: #d1d5db;
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a3285 100%) !important;
  border-top: 3px solid var(--brand-gold);
}

footer a.text-light:hover {
  color: var(--brand-gold) !important;
  text-decoration: underline !important;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: rgba(46,77,181,0.06);
  border-radius: 10px;
  padding: 0.5rem 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #9ca3af;
}

/* ── Page header (category title) ── */
h2.mb-0 {
  font-weight: 700;
  color: #1a3285;
}

/* ── Registration banner ── */
#reg-banner {
  background: var(--brand-gold-soft) !important;
  border-bottom: 2px solid var(--brand-gold) !important;
}

/* ── Stock toast ── */
#stock-toast .alert {
  border-radius: 14px;
  border-right: 4px solid var(--brand-gold);
}

/* ── Category scroll (legacy, keep for safety) ── */
.category-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll-item {
  flex: 0 0 auto;
  width: 45vw;
  max-width: 260px;
}
@media (max-width: 576px) {
  .category-scroll-item { width: 60vw; }
}

/* ── Responsive tweaks ── */
@media (max-width: 576px) {
  .product-img,
  .product-img-placeholder {
    height: 145px;
  }
  .product-card .card-body {
    padding: 0.7rem 0.75rem;
  }
  .product-card {
    height: 390px !important;
  }
  .product-card .card-body .add-row .input-group {
    width: 82px;
  }
}

/* ── Side drawer ── */
#navDrawer {
  border-radius: 0 16px 16px 0 !important;
}
#navDrawer .bg-primary {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary)) !important;
}
#navDrawer .list-group-item a:hover {
  color: var(--brand-primary) !important;
}

/* ── Hero carousel ── */
.hero-carousel {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-carousel-img {
  height: 280px;
  object-fit: contain;
  background: #f0f2fa;
}
@media (max-width: 576px) {
  .hero-carousel-img { height: 200px; }
}
.hero-carousel-caption {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 0;
  text-align: right;
}
.hero-carousel-inner {
  background: linear-gradient(0deg, rgba(26,50,133,0.82) 0%, rgba(26,50,133,0.3) 70%, transparent 100%);
  padding: 14px 18px 12px;
}
.hero-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-gold);
  margin-top: 2px;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255,255,255,0.6);
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  margin: 0 4px;
}
.hero-carousel .carousel-indicators .active {
  background-color: #fff;
}

/* Carousel arrow buttons — purple circle */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.45);
  opacity: 1;
  margin: 0 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.18s, box-shadow 0.18s;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
/* prev positioned on RIGHT (RTL) → show right-pointing arrow → */
.hero-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3285'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
/* next positioned on LEFT (RTL) → show left-pointing arrow ← */
.hero-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a3285'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

/* ── Card header with brand gradient ── */
.card-header.bg-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%) !important;
}

/* ── Cart item rows ── */
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: linear-gradient(160deg, #f5f7ff, #eaecf7);
  padding: 4px;
  border: 1px solid rgba(46,77,181,0.08);
  flex-shrink: 0;
}
.cart-item-placeholder {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(160deg, #f5f7ff, #eaecf7);
  border: 1px solid rgba(46,77,181,0.08);
  flex-shrink: 0;
}
.cart-item-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-primary);
  white-space: nowrap;
}
.cart-remove-btn {
  opacity: 0.5;
  transition: opacity 0.18s, color 0.18s;
  border-radius: 8px !important;
}
.cart-remove-btn:hover {
  opacity: 1;
}

/* ── Payment option cards ── */
.payment-option {
  cursor: pointer;
  border-radius: 12px !important;
  border: 2px solid #e5e7eb !important;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  padding: 14px 16px !important;
  user-select: none;
}
.payment-option:hover {
  border-color: rgba(46,77,181,0.4) !important;
  background: #f5f8ff;
}
.selected-payment {
  border-color: var(--brand-primary) !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 3px rgba(46,77,181,0.12);
}
.payment-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8eeff, #d4dcff);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── Order success animation ── */
@keyframes order-pop {
  0%   { transform: scale(0.2); opacity: 0; }
  65%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); }
}
.order-success-icon {
  display: inline-block;
  animation: order-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Misc ── */
.badge.bg-warning {
  background: var(--brand-gold) !important;
  color: #1e2a3a !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

/* ── Order page hero banner ── */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
  border-radius: var(--radius-card);
  padding: 18px 24px;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.page-hero i  { font-size: 1.6rem; opacity: 0.9; }
.page-hero h2 { margin: 0; font-size: 1.25rem; font-weight: 700; color: #fff; }
.page-hero p  { margin: 0; font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 2px; }

/* ── Order confirm hero (success / failure) ── */
.confirm-hero {
  border-radius: var(--radius-card);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.confirm-hero--success { background: linear-gradient(135deg,#064e3b 0%,#059669 100%); }
.confirm-hero--failure { background: linear-gradient(135deg,#7f1d1d 0%,#dc2626 100%); }
.confirm-hero-icon  { font-size: 3rem; flex-shrink: 0; color: rgba(255,255,255,.9); }
.confirm-hero-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 4px; color: #fff; }
.confirm-hero-sub   { margin: 0; color: rgba(255,255,255,.84); font-size: .93rem; }

/* ── Order card headers (replace inline style) ── */
.order-card-head {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.order-card-head .badge { font-size: .9rem; }
.order-card-head--regular     { background: linear-gradient(135deg,#1a3285 0%,#2e4db5 100%); color: #fff; }
.order-card-head--arrangement { background: linear-gradient(135deg,#78350f 0%,#d97706 100%); color: #fff; }
.order-card-head--regular .fw-bold,
.order-card-head--arrangement .fw-bold { color: #fff !important; }

/* ── Checkout summary card headers ── */
.order-summary-head {
  padding: 10px 16px;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.order-summary-head--regular     { background: linear-gradient(135deg,var(--brand-dark),var(--brand-primary)); color: #fff; }
.order-summary-head--arrangement { background: #fffbeb; color: #92400e; border-bottom: 2px solid #fcd34d; }
.order-summary-head--plain       { background: linear-gradient(135deg,var(--brand-dark),var(--brand-primary)); color: #fff; }

/* ── Checkout step indicator ── */
.checkout-steps {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.checkout-step { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.checkout-step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.checkout-step--done     .checkout-step-num { background: #10b981; color: #fff; }
.checkout-step--done     span               { color: #6b7280; }
.checkout-step--active   .checkout-step-num { background: var(--brand-primary); color: #fff; }
.checkout-step--active   span               { color: var(--brand-primary); }
.checkout-step--upcoming .checkout-step-num { background: #e5e7eb; color: #9ca3af; }
.checkout-step--upcoming span               { color: #9ca3af; }
.checkout-step-sep       { flex: 1; height: 2px; margin: 0 10px; background: #e5e7eb; min-width: 20px; }
.checkout-step-sep--done { background: #10b981; }

/* ── Order history cards ── */
.order-history-card { border-top: 3px solid var(--brand-primary) !important; border-radius: var(--radius-card) !important; }
.order-history-head {
  background: linear-gradient(135deg,var(--brand-dark) 0%,var(--brand-primary) 100%);
  color: #fff;
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
}
.order-history-head .text-muted { color: rgba(255,255,255,.7) !important; }
.order-history-head .fw-bold    { color: #fff !important; }

/* ── Customer detail chips (order confirm) ── */
.customer-chips { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.customer-chip  { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #374151; }
.customer-chip i { color: var(--brand-primary); width: 16px; text-align: center; }
