/**
 * KHOTWA STORE & MERCHANT MOBILE APP - STYLESHEET
 * Dedicated PWA & Mobile Phone Architecture with Khotwa Visual Excellence
 * Colors: Royal Blue (#1d4ed8), Sky Blue (#0284c7), Light Cyan (#f0f9ff), Dark Slate (#0f172a)
 */

:root {
  --k-primary: #0284c7;
  --k-primary-dark: #1d4ed8;
  --k-primary-light: #e0f2fe;
  --k-primary-subtle: #f0f9ff;
  --k-accent: #0ea5e9;
  --k-success: #10b981;
  --k-success-light: #d1fae5;
  --k-warning: #f59e0b;
  --k-warning-light: #fef3c7;
  --k-danger: #ef4444;
  --k-danger-light: #fee2e2;
  --k-dark: #0f172a;
  --k-gray-700: #334155;
  --k-gray-500: #64748b;
  --k-gray-300: #cbd5e1;
  --k-gray-100: #f1f5f9;
  --k-gray-50: #f8fafc;
  --k-white: #ffffff;
  --k-radius-sm: 8px;
  --k-radius-md: 14px;
  --k-radius-lg: 20px;
  --k-radius-xl: 28px;
  --k-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --k-shadow-md: 0 4px 14px rgba(2, 132, 199, 0.08);
  --k-shadow-lg: 0 10px 25px rgba(2, 132, 199, 0.12);
  --k-font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --k-font-en: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--k-font-ar);
  direction: rtl;
  text-align: right;
  background-color: #f1f5f9;
  color: var(--k-dark);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
}

/* ==========================================================================
   APP SHELL & REAL PWA MOBILE-FIRST ARCHITECTURE
   ========================================================================== */
.store-app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--k-gray-50);
  box-shadow: 0 0 35px rgba(2, 132, 199, 0.08);
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 600px) {
  body {
    background: var(--k-gray-50);
  }
  .store-app-container {
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
}

/* PWA Real Installation Banner */
.pwa-install-banner {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  animation: slideDownBanner 0.3s ease-out;
  position: relative;
  z-index: 85;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.pwa-install-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.pwa-install-text {
  display: flex;
  flex-direction: column;
}

.pwa-install-title {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.pwa-install-desc {
  font-size: 0.7rem;
  opacity: 0.88;
  font-weight: 600;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pwa-install-now {
  background: #ffffff;
  color: #0284c7;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--k-font-ar);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s;
}

.btn-pwa-install-now:active {
  transform: scale(0.96);
}

.btn-pwa-dismiss {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Top Header */
.store-top-header {
  height: 56px;
  background: var(--k-white);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--k-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.store-logo .khotwa-dot {
  width: 8px;
  height: 8px;
  background: var(--k-primary-dark);
  border-radius: 50%;
  display: inline-block;
}

.header-title-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--k-dark);
}

.header-action-btn {
  background: none;
  border: none;
  color: var(--k-dark);
  font-size: 1.15rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.header-action-btn:hover {
  background: var(--k-primary-subtle);
  color: var(--k-primary);
}

/* ==========================================================================
   SCROLLABLE SCREEN CONTENT AREA
   ========================================================================== */
.store-screen-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 85px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.store-screen-scroll::-webkit-scrollbar {
  width: 4px;
}
.store-screen-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* View Sections */
.store-view-section {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  animation: fadeInView 0.25s ease-out;
}

.store-view-section.active-view {
  display: flex;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   BRAND HERO CARD (SCREENSHOT 38)
   ========================================================================== */
.hero-brand-card {
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  border-radius: var(--k-radius-lg);
  padding: 22px 18px;
  color: var(--k-white);
  box-shadow: var(--k-shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand-card::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.hero-brand-title {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.hero-brand-subtitle {
  font-size: 0.8rem;
  color: #bae6fd;
  font-weight: 600;
}

/* ==========================================================================
   BALANCES SECTION (SCREENSHOTS 27 & 38)
   ========================================================================== */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  margin-bottom: -4px;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--k-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle {
  font-size: 0.75rem;
  color: var(--k-gray-500);
}

.balances-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.balance-card {
  border-radius: var(--k-radius-md);
  padding: 14px 12px;
  color: var(--k-white);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px;
}

.balance-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--k-shadow-md);
}

.balance-card.cash-balance {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.balance-card.card-balance {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
}

.balance-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.95;
}

.balance-amount {
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--k-font-en), var(--k-font-ar);
  margin-top: 6px;
  letter-spacing: -0.5px;
}

/* ==========================================================================
   11 SHIPMENT STATUS TILES GRID (SCREENSHOTS 33, 38)
   ========================================================================== */
.status-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.status-tile {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.status-tile:hover {
  border-color: var(--k-primary);
  box-shadow: var(--k-shadow-md);
  transform: translateY(-2px);
}

.status-tile-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--k-radius-sm);
  background: var(--k-primary-subtle);
  color: var(--k-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s;
}

.status-tile:hover .status-tile-icon-bubble {
  background: var(--k-primary);
  color: var(--k-white);
}

.status-tile-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--k-gray-700);
  margin-bottom: 4px;
  line-height: 1.2;
}

.status-tile-count {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--k-primary-dark);
  font-family: var(--k-font-en), var(--k-font-ar);
}

/* ==========================================================================
   QUICK ACTIONS LIST (SCREENSHOT 34)
   ========================================================================== */
.quick-actions-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-action-row {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.quick-action-row:hover {
  border-color: var(--k-primary);
  background: var(--k-primary-subtle);
  transform: translateX(-3px);
}

.quick-action-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-action-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--k-white);
  font-size: 1rem;
}

.quick-action-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--k-dark);
}

/* ==========================================================================
   SEARCH & BARCODE BOX (SCREENSHOT 4)
   ========================================================================== */
.search-scan-card {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.search-scan-input-group {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.search-scan-input {
  flex: 1;
  height: 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--k-radius-md);
  padding: 0 14px;
  font-family: var(--k-font-ar);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-scan-input:focus {
  border-color: var(--k-primary);
}

.btn-icon-square {
  width: 44px;
  height: 44px;
  border-radius: var(--k-radius-md);
  border: none;
  background: var(--k-primary);
  color: var(--k-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-icon-square:hover {
  background: var(--k-primary-dark);
}

/* ==========================================================================
   COMPLETION RATES - CIRCULAR PROGRESS (SCREENSHOT 4)
   ========================================================================== */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rate-card {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.rate-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.rate-card-title.delivered { color: var(--k-success); }
.rate-card-title.returned { color: var(--k-danger); }

.circular-chart-box {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 6px 0;
}

.circular-chart-box svg {
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 3.5;
}

.circle-bar {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.circle-bar.delivered { stroke: var(--k-success); }
.circle-bar.returned { stroke: var(--k-danger); }

.rate-percentage-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  font-weight: 900;
  font-family: var(--k-font-en);
}

.rate-stat-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--k-gray-500);
  margin-top: 4px;
}

/* ==========================================================================
   PRODUCTS WAREHOUSE VIEW (SCREENSHOTS 29, 35, 36)
   ========================================================================== */
.products-top-banner {
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  border-radius: var(--k-radius-lg);
  padding: 18px 16px;
  color: var(--k-white);
  box-shadow: var(--k-shadow-md);
  position: relative;
  overflow: hidden;
}

.products-banner-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.products-banner-title {
  font-size: 1.25rem;
  font-weight: 900;
}

.products-banner-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
}

.products-kpi-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.products-kpi-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--k-radius-md);
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.products-kpi-label {
  font-size: 0.72rem;
  color: #bae6fd;
  font-weight: 700;
  margin-bottom: 2px;
}

.products-kpi-value {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--k-font-en), var(--k-font-ar);
}

.low-stock-alert-bar {
  background: var(--k-warning-light);
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: var(--k-radius-md);
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-item-card {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--k-shadow-md);
  border-color: #bae6fd;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-name-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--k-font-ar);
  line-height: 1.4;
}

.product-sku-code {
  font-size: 0.76rem;
  font-family: var(--k-font-en);
  color: #475569;
  font-weight: 700;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-top: 4px;
}

.stock-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 800;
  font-family: var(--k-font-ar);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stock-status-badge.out {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.stock-status-badge.low {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.stock-status-badge.available {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.product-values-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-value-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-value-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 700;
  font-family: var(--k-font-ar);
}

.product-value-number {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--k-font-en);
}

.product-analytics-pill {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--k-radius-md);
  padding: 8px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.analytics-stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.analytics-stat-item.success { color: var(--k-success); }
.analytics-stat-item.danger { color: var(--k-danger); }
.analytics-stat-item.rate { color: var(--k-primary); font-family: var(--k-font-en); }

.product-movement-link {
  font-size: 0.78rem;
  color: var(--k-primary);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* ==========================================================================
   SHIPMENT CARDS IN STATUS LIST VIEWS (SCREENSHOTS 9, 10, 11, 14, 21, 23)
   ========================================================================== */
.shipments-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shipment-detail-card {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipment-card-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.shipment-code-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--k-primary-dark);
  font-family: var(--k-font-en);
}

.shipment-location-text {
  font-size: 0.76rem;
  color: var(--k-gray-500);
  font-weight: 700;
  margin-top: 2px;
}

.shipment-status-pill {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.shipment-status-pill.delivered { background: #d1fae5; color: #059669; }
.shipment-status-pill.out { background: #fef3c7; color: #d97706; }
.shipment-status-pill.returned { background: #fee2e2; color: #dc2626; }
.shipment-status-pill.hub { background: #e0f2fe; color: #0284c7; }
.shipment-status-pill.unreachable { background: #fef3c7; color: #b45309; }

.shipment-info-row {
  display: flex;
  font-size: 0.8rem;
  color: var(--k-gray-700);
  line-height: 1.5;
}

.shipment-info-label {
  color: var(--k-gray-500);
  width: 90px;
  flex-shrink: 0;
}

.shipment-failure-reason-bar {
  background: #fef2f2;
  border-right: 3px solid #ef4444;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #991b1b;
}

.shipment-financials-card {
  background: var(--k-gray-50);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.financial-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--k-gray-500);
}

.financial-row.total {
  border-top: 1px dashed #cbd5e1;
  padding-top: 6px;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--k-primary-dark);
}

/* Courier Bar with Call & WhatsApp */
.courier-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-courier-action {
  flex: 1;
  height: 38px;
  border-radius: var(--k-radius-sm);
  border: none;
  font-family: var(--k-font-ar);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  color: var(--k-white);
  transition: opacity 0.2s;
}

.btn-courier-action.call { background: #0284c7; }
.btn-courier-action.whatsapp { background: #10b981; }

.btn-courier-action:hover {
  opacity: 0.9;
}

/* Card Bottom Micro-actions (Screenshots 10, 21) */
.card-micro-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.micro-action-btn {
  background: none;
  border: none;
  color: var(--k-gray-500);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}

.micro-action-btn:hover {
  color: var(--k-primary);
}

.micro-action-btn.pay-link {
  color: var(--k-primary);
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--k-primary-light);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Re-shipping Orange Action Button (Screenshot 19) */
.btn-reship-action {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--k-white);
  border: none;
  border-radius: var(--k-radius-sm);
  padding: 10px 14px;
  font-family: var(--k-font-ar);
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.btn-reship-action:hover {
  opacity: 0.92;
}

/* ==========================================================================
   FORMS & INPUTS (SCREENSHOTS 5, 6, 8, 12, 25, 30)
   ========================================================================== */
.store-form-card {
  background: var(--k-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--k-radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.form-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--k-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.form-card-title i {
  color: var(--k-primary);
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--k-gray-700);
}

.store-input,
.store-select,
.store-textarea {
  height: 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--k-radius-sm);
  padding: 0 12px;
  font-family: var(--k-font-ar);
  font-size: 0.88rem;
  outline: none;
  background: var(--k-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-textarea {
  height: 80px;
  padding: 10px 12px;
  resize: vertical;
}

.store-input:focus,
.store-select:focus,
.store-textarea:focus {
  border-color: var(--k-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.input-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-row-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* Shipment Type Pills (Screenshot 12) */
.pill-toggles-container {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-toggle-btn {
  flex: 1;
  min-width: 70px;
  height: 38px;
  border: 1.5px solid #e2e8f0;
  background: var(--k-white);
  border-radius: 20px;
  font-family: var(--k-font-ar);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--k-gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.pill-toggle-btn.active {
  background: var(--k-primary);
  border-color: var(--k-primary);
  color: var(--k-white);
}

/* Characteristics Toggle Cards (Screenshot 6) */
.characteristics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.char-toggle-card {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--k-radius-sm);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.char-toggle-card.active {
  border-color: var(--k-primary);
  background: var(--k-primary-subtle);
  color: var(--k-primary);
}

.char-toggle-card i {
  font-size: 1.1rem;
}

.char-toggle-card span {
  font-size: 0.72rem;
  font-weight: 700;
}

/* Checkbox Row */
.store-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.store-checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--k-primary);
  cursor: pointer;
}

/* Form Action Buttons */
.form-submit-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.btn-primary-action {
  background: var(--k-primary);
  color: var(--k-white);
  border: none;
  border-radius: var(--k-radius-sm);
  padding: 12px 18px;
  font-family: var(--k-font-ar);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-primary-action:hover {
  background: var(--k-primary-dark);
}

.btn-secondary-action {
  background: var(--k-gray-100);
  color: var(--k-gray-700);
  border: 1px solid #cbd5e1;
  border-radius: var(--k-radius-sm);
  padding: 12px 18px;
  font-family: var(--k-font-ar);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary-action:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   SUPPORT TICKETS (SCREENSHOTS 25, 26, 32)
   ========================================================================== */
.support-hero-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  border-radius: var(--k-radius-lg);
  padding: 18px;
  color: var(--k-white);
  box-shadow: var(--k-shadow-md);
}

.priority-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.priority-select-btn {
  height: 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--k-radius-sm);
  background: var(--k-white);
  font-family: var(--k-font-ar);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.priority-select-btn.active {
  border-color: var(--k-primary);
  background: var(--k-primary-subtle);
  color: var(--k-primary);
  font-weight: 800;
}

/* ==========================================================================
   DRAWER NAVIGATION MENU (SCREENSHOTS 2, 3)
   ========================================================================== */
.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: -320px;
  width: 310px;
  height: 100%;
  background: var(--k-white);
  z-index: 205;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.drawer-panel.active {
  right: 0;
}

.drawer-profile-header {
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  padding: 24px 18px;
  color: var(--k-white);
  display: flex;
  align-items: center;
  gap: 14px;
}

.drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--k-white);
  color: var(--k-primary);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.drawer-store-name {
  font-size: 1.1rem;
  font-weight: 900;
}

.drawer-store-id-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.drawer-content-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-section-title {
  font-size: 0.75rem;
  color: var(--k-gray-500);
  font-weight: 800;
  padding: 0 8px;
  margin-bottom: 6px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--k-radius-sm);
  color: var(--k-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.drawer-nav-item:hover {
  background: var(--k-primary-subtle);
  color: var(--k-primary);
}

.drawer-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-item-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--k-primary-light);
  color: var(--k-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (SCREENSHOTS 2, 4, 29, 33, 38)
   ========================================================================== */
.store-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: var(--k-white);
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
  z-index: 100;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.03);
}

.bottom-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--k-gray-500);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s;
  flex: 1;
  padding: 6px 0;
}

.bottom-tab-item i {
  font-size: 1.15rem;
}

.bottom-tab-item.active {
  color: var(--k-primary);
}

/* Center Raised Floating Action Button (+) */
.center-fab-wrapper {
  position: relative;
  top: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.center-fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
  color: var(--k-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  border: 3px solid var(--k-white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.center-fab-wrapper:hover .center-fab-btn {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.center-fab-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--k-primary);
  margin-top: 3px;
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */
.store-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.store-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.store-modal-sheet {
  width: 100%;
  max-height: 85%;
  background: var(--k-white);
  border-radius: 24px 24px 0 0;
  padding: 20px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-modal-overlay.active .store-modal-sheet {
  transform: translateY(0);
}

.store-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.store-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--k-dark);
}

.store-modal-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--k-gray-500);
  cursor: pointer;
}

/* Toast Container */
.store-toast-container {
  position: absolute;
  bottom: 78px;
  left: 16px;
  right: 16px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.store-toast {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  animation: slideUpToast 0.25s ease-out;
  pointer-events: auto;
}

.store-toast.success { background: #065f46; border-right: 4px solid #10b981; }
.store-toast.error { background: #7f1d1d; border-right: 4px solid #ef4444; }
.store-toast.info { background: #0c4a6e; border-right: 4px solid #0284c7; }

@keyframes slideUpToast {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Splash Loader Screen (Screenshot 37) */
.store-splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--k-white);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s, visibility 0.4s;
}

.store-splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner-circle {
  width: 50px;
  height: 50px;
  border: 4px solid #e0f2fe;
  border-top-color: var(--k-primary);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state-box {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--k-gray-500);
}

.empty-state-icon {
  font-size: 3rem;
  color: #cbd5e1;
}

/* Filter Chip Buttons in Status View */
.filter-chip-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--k-font-ar);
  flex-shrink: 0;
}

.filter-chip-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Note Bubbles */
.note-item-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #1e293b;
}

.note-bubble-meta {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

/* Movement & Shipment Timeline */
.timeline-track-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-right: 18px;
  border-right: 2px solid #e2e8f0;
  margin: 6px 6px 6px 0;
}

.timeline-track-node {
  position: relative;
  font-size: 0.82rem;
}

.timeline-track-node::before {
  content: '';
  position: absolute;
  right: -24px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284c7;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #bae6fd;
}

.timeline-track-node.completed::before {
  background: #10b981;
  box-shadow: 0 0 0 2px #bbf7d0;
}

/* ==========================================================================
   INTERACTIVE PRODUCT SELECTOR & MODAL PICKER (MODERN LOGISTICS SUITE)
   ========================================================================== */
.btn-micro-picker-link {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-family: var(--k-font-ar);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-micro-picker-link:hover {
  background: #0284c7;
  color: #ffffff;
}

.product-picker-trigger-box {
  width: 100%;
  border: 1.5px dashed #0284c7;
  background: #f0f9ff;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.product-picker-trigger-box:hover {
  background: #e0f2fe;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.product-picker-placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.picker-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  flex-shrink: 0;
}

.picker-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  text-align: right;
}

.picker-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
}

.picker-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
}

.picker-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border: 1px solid #bae6fd;
  flex-shrink: 0;
  transition: all 0.2s;
}

.product-picker-trigger-box:hover .picker-arrow-circle {
  transform: translateX(-3px);
  background: #0284c7;
  color: #ffffff;
}

/* Active Selected Product Preview */
.product-selected-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.selected-product-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.selected-product-details {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.selected-product-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.selected-product-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.selected-sku-tag {
  font-family: var(--k-font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1px 6px;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.selected-stock-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 10px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.selected-stock-tag.low {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.selected-stock-tag.out {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.selected-product-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.selected-price-val {
  font-family: var(--k-font-en);
  font-size: 1.1rem;
  font-weight: 900;
  color: #0284c7;
}

.btn-picker-action-change {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 3px 8px;
  font-family: var(--k-font-ar);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.btn-picker-action-change:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-picker-action-clear {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.72rem;
  cursor: pointer;
}

.btn-picker-action-clear:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Product Picker Sheet inside Modal Overlay */
.product-picker-modal-sheet {
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.picker-modal-header {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.picker-sheet-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.picker-controls-wrapper {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.picker-search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.picker-search-input {
  width: 100%;
  height: 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 40px 0 36px;
  font-family: var(--k-font-ar);
  font-size: 0.9rem;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
}

.picker-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.picker-search-icon {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  font-size: 0.92rem;
  pointer-events: none;
}

.picker-clear-btn {
  position: absolute;
  left: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px;
}

.picker-clear-btn:hover {
  color: #ef4444;
}

.picker-filter-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.picker-filter-chips-row::-webkit-scrollbar {
  display: none;
}

.picker-chip {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-family: var(--k-font-ar);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.picker-chip:hover {
  border-color: #0284c7;
  color: #0284c7;
}

.picker-chip.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  font-weight: 800;
}

.picker-products-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 50vh;
  min-height: 220px;
}

/* Individual Picker Product Card */
.picker-product-item-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.picker-product-item-card:hover {
  border-color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1);
}

.picker-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.picker-prod-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid #bae6fd;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.picker-prod-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  text-align: right;
}

.picker-prod-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.picker-prod-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.picker-prod-sku {
  font-family: var(--k-font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1px 6px;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.picker-prod-stock {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}

.picker-prod-stock.available {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.picker-prod-stock.low {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.picker-prod-stock.out {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.picker-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.picker-prod-price {
  font-family: var(--k-font-en);
  font-size: 1.05rem;
  font-weight: 900;
  color: #0284c7;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.picker-prod-price-currency {
  font-family: var(--k-font-ar);
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.btn-picker-choose-cta {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 4px 10px;
  font-family: var(--k-font-ar);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.picker-product-item-card:hover .btn-picker-choose-cta {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.picker-modal-bottom-bar {
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
  align-items: center;
}
