/* ===== BABYCHIC ERP — Modern SaaS Theme (Poppins) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --coral:       #E8837A;
  --coral-light: #F2AFA9;
  --coral-dark:  #C45E56;
  --coral-bg:    #FFF5F4;
  --warm-white:  #F8F9FB;
  --pure-white:  #FFFFFF;
  --espresso:    #1A1A2E;
  --text-main:   #2D3748;
  --text-muted:  #718096;
  --text-light:  #A0AEC0;
  --border:      #E8ECF0;
  --border-light:#F0F4F7;
  --green:       #38A169;
  --green-bg:    #F0FFF4;
  --yellow:      #D69E2E;
  --yellow-bg:   #FFFFF0;
  --red:         #E53E3E;
  --red-bg:      #FFF5F5;
  --blue:        #3182CE;
  --blue-bg:     #EBF8FF;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:      0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10), 0 16px 48px rgba(0,0,0,0.07);

  --radius-sm:   6px;
  --radius:      10px;
  --radius-md:   14px;
  --radius-lg:   18px;

  --sidebar-w:   248px;
  --header-h:    64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }
html[dir="rtl"] { font-family: 'Poppins', 'Cairo', sans-serif; }
html[dir="ltr"] { font-family: 'Poppins', 'Segoe UI', sans-serif; }

body {
  background: var(--warm-white);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.app-layout { display: flex; min-height: 100vh; }

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-w);
  background: var(--pure-white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0;
  height: 100vh;
  z-index: 100;
  transition: width 0.2s ease;
}

html[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--border);
}

.sidebar-logo {
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-light);
  gap: 2px;
}

/* direct h1/small inside sidebar-logo (no .logo-text wrapper) */
.sidebar-logo h1 {
  font-size: 15px;
  font-weight: 700;
  color: var(--coral-dark);
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0;
}

.sidebar-logo small {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 400;
  white-space: nowrap;
}

.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 0.8px;
  line-height: 1.2;
}

.logo-text small {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 400;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 10px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--warm-white);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--coral-bg);
  color: var(--coral-dark);
  font-weight: 600;
}

.nav-item .icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-toggle {
  display: flex;
  background: var(--warm-white);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  font-family: inherit;
}

.lang-btn.active {
  background: var(--pure-white);
  color: var(--coral-dark);
  box-shadow: var(--shadow-sm);
}

/* ===== TOPBAR ===== */
.topbar {
  height: var(--header-h);
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.topbar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--espresso);
}

.topbar-actions { margin-left: auto; display: flex; gap: 8px; }
html[dir="rtl"] .topbar-actions { margin-left: 0; margin-right: auto; }

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
}

html[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: var(--sidebar-w);
}

.page-body {
  padding: 24px 28px;
  flex: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--espresso);
}

.page-title span { color: var(--coral); }

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 400;
}

/* ===== KPI CARDS ===== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.kpi-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-icon-coral  { background: var(--coral-bg); }
.kpi-icon-green  { background: var(--green-bg); }
.kpi-icon-blue   { background: var(--blue-bg); }
.kpi-icon-yellow { background: var(--yellow-bg); }

.kpi-info { flex: 1; min-width: 0; }
.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.2;
}

.kpi-value.coral  { color: var(--coral-dark); }
.kpi-value.green  { color: var(--green); }
.kpi-value.blue   { color: var(--blue); }

.kpi-trend {
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.kpi-trend.up   { color: var(--green); }
.kpi-trend.down { color: var(--red); }

/* ===== CARDS ===== */
.card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--espresso);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead tr { background: var(--warm-white); }

th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

html[dir="rtl"] th { text-align: right; }

td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  vertical-align: middle;
  color: var(--text-main);
}

tbody tr:hover td { background: var(--warm-white); }
tbody tr:last-child td { border-bottom: none; }

/* ===== STATUS BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  gap: 4px;
}

.badge-pending   { background: var(--yellow-bg); color: var(--yellow); border: 1px solid #FAF089; }
.badge-confirmed { background: var(--blue-bg);   color: var(--blue);   border: 1px solid #BEE3F8; }
.badge-shipped   { background: #EDF2FF; color: #5A67D8; border: 1px solid #C3DAFE; }
.badge-delivered { background: var(--green-bg);  color: var(--green);  border: 1px solid #9AE6B4; }
.badge-cancelled { background: var(--red-bg);    color: var(--red);    border: 1px solid #FEB2B2; }
.badge-green     { background: var(--green-bg);  color: var(--green);  border: 1px solid #9AE6B4; }
.badge-yellow    { background: var(--yellow-bg); color: var(--yellow); border: 1px solid #FAF089; }
.badge-red       { background: var(--red-bg);    color: var(--red);    border: 1px solid #FEB2B2; }

/* ===== STOCK LEVELS ===== */
.qty-0   { color: var(--red);    font-weight: 600; }
.qty-low { color: var(--yellow); font-weight: 600; }
.qty-ok  { color: var(--green);  }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 2px 6px rgba(232,131,122,0.35);
}
.btn-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 4px 12px rgba(232,131,122,0.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid var(--coral-light);
}
.btn-outline:hover { background: var(--coral-bg); border-color: var(--coral); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--warm-white); color: var(--text-main); }

.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #C53030; }

.btn-sm  { padding: 6px 12px; font-size: 12px; }
.btn-xs  { padding: 4px 8px;  font-size: 11px; }
.btn-lg  { padding: 12px 24px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

input[type="text"], input[type="number"], input[type="date"],
input[type="tel"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  background: var(--pure-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,131,122,0.12);
}

textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.form-grid   { display: grid; grid-template-columns: 1fr 1fr;     gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.search-bar input  { max-width: 280px; }
.search-bar select { max-width: 180px; }

/* ===== ORDER ITEM ROW ===== */
.item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.7fr 1fr 80px 36px;
  gap: 8px;
  align-items: end;
  padding: 14px;
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--border-light);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  gap: 3px;
}
.stock-pill.ok  { background: var(--green-bg); color: var(--green); border: 1px solid #9AE6B4; }
.stock-pill.out { background: var(--red-bg);   color: var(--red);   border: 1px solid #FEB2B2; }

/* ===== ALERTS ===== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.alert-info    { background: var(--blue-bg);   border: 1px solid #BEE3F8; color: #2B6CB0; }
.alert-success { background: var(--green-bg);  border: 1px solid #9AE6B4; color: #276749; }
.alert-warning { background: var(--yellow-bg); border: 1px solid #FAF089; color: #975A16; }
.alert-danger  { background: var(--red-bg);    border: 1px solid #FEB2B2; color: #C53030; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border-light); margin: 20px 0; }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--coral-dark); border-bottom-color: var(--coral); font-weight: 600; }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-light);
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; font-weight: 500; }
.empty-state small { font-size: 12px; display: block; margin-top: 4px; }

/* ===== LOADING ===== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.45);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 20px;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; color: var(--text-muted);
  transition: all 0.15s;
}
.modal-close:hover { background: var(--red-bg); color: var(--red); border-color: var(--red); }
html[dir="rtl"] .modal-close { right: auto; left: 18px; }

/* ===== LOW STOCK GRID ===== */
.low-stock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 10px; }

.low-stock-item {
  background: var(--pure-white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.low-stock-item.zero { border-left: 3px solid var(--red); }
.low-stock-item.low  { border-left: 3px solid var(--yellow); }
html[dir="rtl"] .low-stock-item.zero { border-left: none; border-right: 3px solid var(--red); }
html[dir="rtl"] .low-stock-item.low  { border-left: none; border-right: 3px solid var(--yellow); }

.low-stock-item .ls-text .ls-name   { font-weight: 600; font-size: 12px; color: var(--text-main); }
.low-stock-item .ls-text .ls-detail { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.low-stock-item .ls-qty { font-size: 22px; font-weight: 700; }
.low-stock-item.zero .ls-qty { color: var(--red); }
.low-stock-item.low  .ls-qty { color: var(--yellow); }

/* ===== CHART CONTAINER ===== */
.chart-container { position: relative; height: 220px; }

/* ===== SUMMARY CARDS (two/three column grids) ===== */
.two-col   { display: grid; grid-template-columns: 1fr 1fr;     gap: 20px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* ===== MISC UTILITIES ===== */
.text-coral  { color: var(--coral-dark); }
.text-muted  { color: var(--text-muted); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-light  { color: var(--text-light); }
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 500; }
.flex        { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.gap-16      { gap: 16px; }
.mt-12       { margin-top: 12px; }
.mt-16       { margin-top: 16px; }
.mt-20       { margin-top: 20px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.fw          { flex-wrap: wrap; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--coral-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --sidebar-w: 56px; }
  .logo-text, .nav-item span, .sidebar-logo small, .nav-section-label { display: none; }
  .sidebar-footer .lang-toggle { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .main-content { padding: 16px; }
  .page-body { padding: 16px; }
  .form-grid, .form-grid-3, .two-col, .three-col { grid-template-columns: 1fr; }
}

/* ===== AUTH / LOGIN ===== */
.app-layout.not-authenticated .sidebar { display: none; }
.app-layout.not-authenticated .main-content {
  margin-left: 0;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
}

.login-wrap {
  width: 100%;
  max-width: 400px;
  padding: 24px;
}

.login-card {
  background: var(--pure-white);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(232,131,122,0.13);
  text-align: center;
}

.login-logo { font-size: 22px; font-weight: 700; color: var(--coral); letter-spacing: 2px; margin-bottom: 4px; }
.login-sub  { font-size: 11px; color: var(--text-light); margin-bottom: 36px; }

.login-card .form-group { text-align: left; margin-bottom: 18px; }
.login-card label { font-size: 12px; font-weight: 600; color: var(--text-light); display: block; margin-bottom: 6px; }

.login-user-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--coral-bg);
  border-radius: 8px;
  font-size: 13px;
  color: var(--espresso);
}
.login-user-wrap span { flex: 1; font-weight: 500; }

/* ===== USER MANAGEMENT ===== */
.perm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.perm-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  user-select: none;
}
.perm-check input { cursor: pointer; accent-color: var(--coral); }
.perm-check.checked { background: var(--coral-bg); border-color: var(--coral); }

.user-row td { vertical-align: middle; }
.role-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.role-badge.admin { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.role-badge.user  { background: var(--coral-bg); color: var(--coral-dark); border: 1px solid var(--coral-light); }

/* ===== ACTIVITY LOG ===== */
.activity-action {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.activity-action.create { background: #e8f5e9; color: #2d7d32; }
.activity-action.update { background: #e3f2fd; color: #1565c0; }
.activity-action.delete { background: var(--red-bg); color: var(--red); }
.activity-action.login  { background: var(--coral-bg); color: var(--coral-dark); }
.activity-action.logout { background: var(--warm-white); color: var(--text-light); }

/* ===== EDIT/DELETE INLINE ===== */
.edit-qty-input {
  width: 60px;
  text-align: center;
  font-size: 13px;
  border: 1px solid var(--coral);
  border-radius: 4px;
  padding: 2px 4px;
  background: white;
}
.edit-mode-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff8f0;
  border: 1px solid #fde8d4;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}


/* Product cards page (public/js/catalog.js) */
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-light); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; background: #fff; }
.ct-chip input { width: auto; margin: 0; }
.ct-chip:has(input:checked) { border-color: var(--coral); background: var(--coral-bg, #FEF0EF); font-weight: 600; }
