@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Primary & Color Tokens */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --bg-app: #090d16;
  --bg-main: #f8fafc;
  --surface-card: #ffffff;
  
  --sidebar-bg: #0f172a;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-text: #94a3b8;
  --sidebar-active-bg: linear-gradient(135deg, #2563eb, #1d4ed8);
  --sidebar-active-text: #ffffff;
  --sidebar-hover-bg: rgba(255, 255, 255, 0.05);
  
  /* Text colors */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  /* Status Colors */
  --success-bg: #f0fdf4;
  --success-text: #166534;
  --success-border: #bbf7d0;
  
  --warning-bg: #fffbeb;
  --warning-text: #92400e;
  --warning-border: #fef08a;
  
  --danger-bg: #fef2f2;
  --danger-text: #991b1b;
  --danger-border: #fecaca;
  
  /* Shadows & Radius */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, textarea, select {
  font-family: var(--font-sans);
  font-size: 14px;
}

i.fa, i.fas, i.fa-solid, i.far, i.fa-regular, i.fab, i.fa-brands {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

button {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.app {
  display: flex;
  min-height: 100vh;
  background: var(--bg-main);
}

/* Sidebar Modern Styling */
.sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  color: #fff;
  padding: 24px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 1px solid var(--sidebar-border);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  background: #0b0f19;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cust-brand-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  background: #0b0f19;
  padding: 3px;
  border: 1px solid #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand span {
  color: #60a5fa;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--sidebar-text);
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  transition: all 0.2s ease;
}

.nav button i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.nav button.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-text);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.nav button:hover:not(.active) {
  background: var(--sidebar-hover-bg);
  color: #ffffff;
  transform: translateX(3px);
}

.nav button.active i {
  transform: scale(1.1);
}

/* Main Layout & Topbar */
.main {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
  max-width: 1600px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.topbar h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 4px 0;
  letter-spacing: -0.5px;
}

.userbox {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  padding: 6px 8px 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.user-avatar-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-heading);
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.logout {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.logout:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* Metric Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.card-icon-badge.blue { background: #eff6ff; color: #2563eb; }
.card-icon-badge.purple { background: #f3e8ff; color: #9333ea; }
.card-icon-badge.emerald { background: #ecfdf5; color: #059669; }
.card-icon-badge.amber { background: #fffbeb; color: #d97706; }
.card-icon-badge.rose { background: #fff1f2; color: #e11d48; }

.metric {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.muted {
  color: var(--text-muted);
  font-size: 13.5px;
}

/* Panels & Tables */
.panel {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 4px 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  white-space: nowrap;
  font-size: 14px;
}

th {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.2px;
}

.badge.pending {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
}

.badge.approved {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.badge.rejected {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
}

.badge.restaurant { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge.grocery { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge.electronics { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge.pharmacy { background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }
.badge.stationery { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.badge.entrepreneur { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; font-weight: 700; }
.badge.others { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* Buttons */
.btn {
  border: 0;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.btn.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.btn.danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.btn.danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Forms & Fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.store-profile-panel {
  max-width: 100%;
}

.store-form-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1024px) {
  .store-form-split {
    grid-template-columns: 1fr;
  }
}

.form-section-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.section-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.field input, .field textarea, .field select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 13px;
  background: #ffffff;
  color: var(--text-heading);
  font-size: 13.5px;
  transition: all 0.2s ease;
  outline: none;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.btn.sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.xs {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .form-grid-3, .form-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .form-grid-3, .form-grid-2, .form-grid-4 {
    grid-template-columns: 1fr;
  }
}

.notice {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin: 14px 0;
  display: none;
  font-weight: 600;
  font-size: 14px;
}

.notice.show {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice.error {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
}

.notice.success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 500;
}

/* Workflow Step Cards */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.workflow-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
}

.workflow-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}

.workflow-step h4 {
  margin: 0 0 4px 0;
  font-size: 14.5px;
  color: var(--text-heading);
}

.workflow-step p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.section {
  display: none;
  animation: fadeInSection 0.25s ease-out;
}

.section.active {
  display: block;
}

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

@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .sidebar { display: none; }
  .main { margin-left: 0; padding: 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; gap: 12px; flex-direction: column; }
}


/* =========================
   STORE DETAILS MODAL
   ========================= */

.details-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.65);
}

.store-details {
  width: min(1000px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.details-header h2 {
  margin: 0 0 5px;
}

.details-header p {
  margin: 0;
  color: #718096;
}

.close-details {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 25px;
  line-height: 1;
}

.close-details:hover {
  background: #e2e8f0;
}

.details-section {
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}

.details-section h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.details-grid > div {
  background: #f8fafc;
  padding: 13px;
  border-radius: 10px;
}

.details-grid strong {
  display: block;
  color: #718096;
  font-size: 12px;
  margin-bottom: 5px;
}

.details-grid span {
  display: block;
  font-weight: 600;
  word-break: break-word;
}

.description {
  margin-top: 14px;
  background: #f8fafc;
  padding: 15px;
  border-radius: 10px;
}

.description strong {
  font-size: 13px;
}

.description p {
  margin: 7px 0 0;
  color: #475569;
  line-height: 1.6;
}

.details-footer {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .details-modal {
    padding: 10px;
  }

  .store-details {
    padding: 20px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CHANGE OWNER PASSWORD MODAL
   ========================= */

.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
}

.pw-card {
  width: min(480px, 95vw);
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: pwModalSlideIn 0.25s ease-out;
}

@keyframes pwModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.pw-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.pw-info-box {
  background: #f1f5f9;
  border-left: 4px solid #1677ff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

.pw-info-box strong {
  color: #0f172a;
}

.pw-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-input-wrap input {
  width: 100%;
  padding-right: 54px !important;
}

.pw-toggle-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: 0;
  color: #64748b;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}

.pw-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pw-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* ==========================================================================
   CUSTOMER PORTAL DESIGN SYSTEM & HYPERLOCAL DISCOVERY STYLES
   ========================================================================== */

.customer-body {
  background-color: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   CUSTOMER PORTAL MODERN VIBRANT DESIGN SYSTEM
   ========================================================= */

body.customer-body {
  background-color: #f1f5f9;
  background-image: 
    radial-gradient(at 10% 5%, rgba(37, 99, 235, 0.08) 0px, transparent 40%),
    radial-gradient(at 90% 12%, rgba(249, 115, 22, 0.06) 0px, transparent 40%),
    radial-gradient(at 50% 85%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 1. Header & Navigation */
.cust-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.cust-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cust-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.cust-brand-logo {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cust-brand-logo i {
  color: #2563eb;
  font-size: 20px;
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.3));
}

.cust-brand-logo span {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cust-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: -2px;
}

.location-pill-wrap {
  flex-shrink: 0;
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
}

.location-pill:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.loc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.loc-text-box {
  display: flex;
  flex-direction: column;
}

.loc-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #10b981;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.loc-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.loc-value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-change-loc {
  border: 0;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.15s ease;
  margin-left: 2px;
}

.btn-change-loc:hover {
  background: #2563eb;
  color: #ffffff;
}

.cust-search-wrap {
  flex: 1;
  position: relative;
  max-width: 540px;
}

.cust-search-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}

.cust-search-wrap input {
  width: 100%;
  padding: 11px 18px 11px 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.cust-search-wrap input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(15, 23, 42, 0.05);
}

.cart-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.cart-header-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: #ffffff;
  color: #059669;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}

/* 2. Hero Promotional Strip */
.cust-hero-strip {
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 0 20px;
  width: 100%;
}

.hero-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .hero-promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.hero-promo-card {
  border-radius: 18px;
  padding: 18px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.hero-promo-card.banner-blue {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.hero-promo-card.banner-orange {
  background: linear-gradient(135deg, #9a3412, #ea580c);
}

.hero-promo-card.banner-emerald {
  background: linear-gradient(135deg, #064e3b, #059669);
}

.hero-promo-card .promo-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-promo-card .promo-content p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.35;
}

.hero-promo-card .promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hero-promo-card .promo-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* 3. Category & Food Filter Bar */
.filters-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  margin-top: 14px;
}

.filters-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.categories-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.categories-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 6px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  cursor: grab;
  width: 100%;
}

.categories-chips:active {
  cursor: grabbing;
}

.categories-chips::-webkit-scrollbar {
  display: none;
}

.cat-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.cat-nav-btn.cat-nav-prev {
  left: -12px;
}

.cat-nav-btn.cat-nav-next {
  right: -12px;
}

.cat-nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

.category-chip {
  flex-shrink: 0;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.category-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.category-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.types-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
}

.type-chip {
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.type-chip.active, .type-chip:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  font-weight: 700;
}

.filters-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.food-filters-group {
  display: flex;
  gap: 6px;
}

.food-filter-btn {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.food-filter-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.food-filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.food-filter-btn.veg-btn.active {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

.food-filter-btn.non-veg-btn.active {
  background: #991b1b;
  border-color: #991b1b;
  color: #ffffff;
}

/* 4. Main Container & Shelves */
.cust-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  width: 100%;
  flex: 1;
}

.cust-section {
  margin-bottom: 36px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-header h2 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-fresh {
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5. Product Cards Grid (Responsive & Spacious) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 18px;
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 599px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 6. Individual Product Card (Elevated & High Contrast) */
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
  border-color: #93c5fd;
}

.product-thumb-header {
  height: 155px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  border: 1px solid #f1f5f9;
  padding: 10px;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-thumb-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
}

.product-food-badge-pos {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.product-discount-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  z-index: 2;
}

.food-sign {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  backdrop-filter: blur(4px);
}

.food-sign.veg {
  background: rgba(236, 253, 245, 0.95);
  color: #166534;
  border: 1px solid #a7f3d0;
}

.food-sign.non-veg {
  background: rgba(254, 242, 242, 0.95);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.food-sign.egg {
  background: rgba(254, 252, 232, 0.95);
  color: #854d0e;
  border: 1px solid #fef08a;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.store-meta-tag {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.product-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.delivery-badge-row {
  margin-top: auto;
  margin-bottom: 10px;
}

.delivery-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.selling-price {
  font-size: 18px;
  font-weight: 800;
  color: #1e3a8a;
}

.mrp-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.savings-text {
  font-size: 11px;
  font-weight: 800;
  color: #15803d;
}

.card-action .add-cart-btn {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-action .add-cart-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* 7. Trust Badges Strip */
.cust-trust-strip {
  max-width: 1320px;
  margin: 30px auto 0;
  padding: 0 20px;
  width: 100%;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

@media (max-width: 860px) {
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 500px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-badge-text h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.trust-badge-text p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
}

/* 8. Sticky Floating Cart Drawer */
.floating-cart-drawer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90vw;
}

.floating-cart-drawer.active {
  transform: translateX(-50%) translateY(0);
}

.floating-cart-drawer a {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

/* 9. Rich Footer */
.cust-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 20px 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cust-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 800px) {
  .cust-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.cust-footer-brand h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.cust-footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 380px;
}

.cust-footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cust-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cust-footer-col ul li {
  margin-bottom: 8px;
}

.cust-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.cust-footer-col ul li a:hover {
  color: #ffffff;
}

.cust-footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

/* Empty State Box */
.empty-products-box {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 50px 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.empty-products-box .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.empty-products-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.empty-products-box p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

/* NO STORE NEARBY EMPTY STATE (Requirement 11 & 34) */
.no-store-container {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.no-store-card {
  max-width: 520px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.no-store-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #fef2f2;
  color: #ef4444;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.no-store-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.no-store-card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
}

.promise-text {
  font-weight: 600;
  color: #334155 !important;
  margin-bottom: 24px !important;
}

.no-store-actions {
  display: flex;
  justify-content: center;
}

/* Location Selector Modal */
.location-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
}

.location-modal.active {
  display: flex;
}

.location-modal-card {
  width: min(520px, 95vw);
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: locModalSlide 0.25s ease-out;
}

.location-modal-card.cust-modal-split-card {
  width: min(840px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 28px;
  border-radius: 20px;
}

.cust-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .cust-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@keyframes locModalSlide {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 22px;
  line-height: 1;
}

.close-modal-btn:hover {
  background: #e2e8f0;
}

.loc-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.loc-logo-badge {
  width: 52px;
  height: 52px;
  background: #eff6ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}

.loc-modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.loc-modal-header p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.location-error-box {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: #991b1b;
  font-size: 13px;
}

.location-error-box.show {
  display: block;
}

.location-error-box p {
  margin: 0;
}

.btn-geo-detect {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease;
}

.btn-geo-detect:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.geo-subtext {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
}

.loc-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #cbd5e1;
}

.loc-divider::before, .loc-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.loc-divider span {
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.manual-loc-form h3 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.form-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cust-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  margin-top: 40px;
}

.empty-products-box {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
}

.empty-products-box .empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.empty-products-box h3 {
  margin: 0 0 6px;
  color: #0f172a;
}

@media (max-width: 768px) {
  .cust-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cust-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .location-pill-wrap {
    margin-left: auto;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CART & CHECKOUT UI STYLES
   ========================================================================== */

.cart-header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cart-header-btn:hover, .cart-header-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cart-count-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.cart-header-btn:hover .cart-count-badge, .cart-header-btn.active .cart-count-badge {
  background: #ffffff;
  color: #ef4444;
}

.cart-page-wrap, .checkout-page-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.cart-left-col, .checkout-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-card-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.cart-store-banner {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 16px;
  color: #1e40af;
  font-size: 14px;
  font-weight: 600;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 100px 110px 100px 40px;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.cart-item-card.unavailable {
  opacity: 0.65;
  background: #f8fafc;
}

.cart-item-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.item-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.item-store {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.unavail-badge {
  display: inline-block;
  background: #fef2f2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.cart-item-price-block {
  display: flex;
  flex-direction: column;
}

.unit-price {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px 8px;
  width: fit-content;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-val {
  font-size: 14px;
  font-weight: 700;
  width: 24px;
  text-align: center;
}

.btn-remove-item {
  border: 0;
  background: transparent;
  font-size: 18px;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.btn-remove-item:hover {
  opacity: 1;
}

.bill-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.bill-summary-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #0f172a;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #475569;
}

.bill-row.muted {
  color: #64748b;
}

.bill-row.green {
  color: #16a34a;
}

.bill-row.total-row {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 14px;
}

.calc-text {
  font-size: 11px;
  color: #64748b;
}

.bill-divider {
  border-top: 1px dashed #cbd5e1;
  margin: 14px 0;
}

.checkout-btn {
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
}

.bill-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 12px;
  line-height: 1.4;
  text-align: center;
}

.empty-cart-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  padding: 60px 24px;
  text-align: center;
}

.empty-cart-box .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-cart-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.empty-cart-box p {
  color: #64748b;
  margin: 0 0 20px;
}

/* Checkout Wizard Styles */
.checkout-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.step-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.saved-addresses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-option-card {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-option-card.selected {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.addr-details strong {
  color: #0f172a;
  font-size: 14px;
}

.addr-details p {
  margin: 4px 0 2px;
  font-size: 13px;
  color: #475569;
}

.landmark-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-top: 4px;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-option {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.payment-option:hover {
  background: #f8fafc;
}

.pay-text strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.pay-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.store-preview-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.checkout-items-mini {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 14px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 8px 12px;
}

.mini-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f8fafc;
}

.mini-item-row:last-child {
  border-bottom: 0;
}

.item-qty-tag {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

.secure-tag {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

.order-success-card {
  max-width: 560px !important;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.order-num-tag {
  font-size: 16px;
  color: #475569;
}

@media (max-width: 900px) {
  .cart-page-wrap, .checkout-page-grid {
    grid-template-columns: 1fr;
  }
  .cart-item-card {
    grid-template-columns: 1fr 1fr;
  }
}

/* Order Success & Live Tracking 2-Column Split Grid */
.order-success-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .order-success-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
}

.tracking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.tracking-status-banner {
  padding: 7px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 12.5px;
}

.tracking-status-banner.amber {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
}

.tracking-status-banner.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.tracking-status-banner.purple {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  color: #6b21a8;
}

.tracking-status-banner.emerald {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.tracking-status-banner.rose {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Stepper Timeline */
.tracking-stepper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  margin-left: 10px;
  padding-left: 20px;
  border-left: 2px solid #e2e8f0;
}

.stepper-step {
  position: relative;
  padding-bottom: 3px;
}

.stepper-step:last-child {
  padding-bottom: 0;
}

.stepper-step-icon {
  position: absolute;
  left: -31px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.stepper-step.completed .stepper-step-icon {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.stepper-step.active .stepper-step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  animation: pulseStep 1.8s infinite;
}

@keyframes pulseStep {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.stepper-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1px;
}

.stepper-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================================
   MODERN CART & CHECKOUT DESIGN SYSTEM
   ========================================================= */

.cart-page-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .cart-page-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.cart-left-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-card-header h2 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-cart {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-clear-cart:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: scale(1.02);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cart-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  border-color: #cbd5e1;
}

.cart-item-card.unavailable {
  opacity: 0.7;
  background: #f8fafc;
  border-color: #fca5a5;
}

.cart-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cart-item-category-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.cart-item-info .item-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}

.cart-item-info .item-store {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-item-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 65px;
}

.cart-item-price-block .unit-price {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}

.cart-item-price-block .mrp-price {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.cart-qty-control {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-control .qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: all 0.15s ease;
}

.cart-qty-control .qty-btn:hover:not(:disabled) {
  background: #2563eb;
  color: #ffffff;
}

.cart-qty-control .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-qty-control .qty-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  min-width: 18px;
  text-align: center;
}

.cart-item-subtotal {
  font-size: 16px;
  font-weight: 800;
  color: #1e3a8a;
  min-width: 75px;
  text-align: right;
}

.btn-remove-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fef2f2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-remove-item:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

@media (max-width: 640px) {
  .cart-item-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .cart-item-price-block, .cart-item-subtotal {
    grid-column: 1 / 2;
    align-items: flex-start;
    text-align: left;
  }
}

/* Bill Summary Card */
.bill-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 86px;
}

/* =========================================================
   COMPACT & STRUCTURED CHECKOUT STYLES (Single Viewport)
   ========================================================= */

.checkout-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.checkout-step-card .step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f8fafc;
}

.checkout-step-card .step-header h2 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-step-card .step-num {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

/* Compact Saved Address Card */
.saved-addresses-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-card-radio {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.address-card-radio:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.address-card-radio.selected {
  border-color: #2563eb;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.address-card-radio input[type="radio"] {
  margin-top: 3px;
  accent-color: #2563eb;
}

.address-details-box {
  flex: 1;
}

.address-recipient {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.address-text-line {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

.address-default-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #eff6ff;
  color: #2563eb;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Compact 2x2 Payment Method Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 580px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
}

.payment-option {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.payment-option:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.payment-option.selected {
  border-color: #2563eb;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.payment-option input[type="radio"] {
  accent-color: #2563eb;
}

.payment-option strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Unified Compact Order Preview Card (Right Column) */
.order-preview-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 86px;
}

.order-preview-header {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.store-preview-badge {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.checkout-items-mini {
  max-height: 80px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}

.checkout-items-mini::-webkit-scrollbar {
  width: 4px;
}

.checkout-items-mini::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.mini-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 12px;
  border-bottom: 1px dashed #f8fafc;
}

.mini-item-row:last-child {
  border-bottom: none;
}

.bill-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 12px;
  width: 100%;
}

.bill-row span {
  display: inline-flex;
  align-items: center;
}

.bill-row strong {
  font-weight: 700;
  color: #0f172a;
}

.bill-row.bill-row-multistore {
  color: #2563eb;
}

.bill-row.bill-row-multistore strong {
  color: #2563eb;
  font-weight: 800;
}

.bill-divider {
  border-top: 1.5px dashed #e2e8f0;
  margin: 16px 0;
}

.bill-row.total-row {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.bill-row.total-row strong {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
}

.bill-tax-tag {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 16px;
  text-align: right;
}

.checkout-btn {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.bill-trust-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}

.bill-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Empty Cart Container */
.empty-cart-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 50px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.empty-cart-box .empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.empty-cart-box h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.empty-cart-box p {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 20px;
}

/* Premium Login & Registration Layout */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-2px);
}

/* Product Card Photo & Aspect Ratio Styles */
.product-card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  display: block;
  padding: 4px;
  transition: transform 0.25s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

/* =========================================================
   TRUST BADGES STRIP
   ========================================================= */

.trust-strip {
  margin: 32px 0 24px;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

@media (max-width: 900px) {
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.trust-badge-text h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
  line-height: 1.2;
}

.trust-badge-text p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

/* =========================================================
   RICH HIGH-CONTRAST DARK FOOTER
   ========================================================= */

.cust-footer {
  background: #090d16;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  margin-top: 48px;
  width: 100%;
}

.cust-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

@media (max-width: 960px) {
  .cust-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 36px 20px 28px;
  }
}

@media (max-width: 560px) {
  .cust-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.cust-footer-brand h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.3px;
}

.cust-footer-brand p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 340px;
}

.cust-footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 8px;
}

.cust-footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

.cust-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cust-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.cust-footer-col ul li a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.cust-footer-bottom {
  background: #04060a;
  border-top: 1px solid #131b2e;
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* Floating WhatsApp Button */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background: #20ba59;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn .whatsapp-pulse-dot {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  background: #34d399;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.whatsapp-float-label {
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float-container:hover .whatsapp-float-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-float-container {
    bottom: 74px;
    right: 14px;
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }
}


