/* ==========================================================================
   DashFresh Design System
   Brand Identity: Clean, Modern, Simple, Fast
   Primary: #D90217 | Accent: #AE0212 | Red-1: #FF1304
   Typography: Manrope | Icons: Font Awesome Pro
   ========================================================================== */

:root {
  --red: #D90217;
  --red-1: #FF1304;
  --accent: #AE0212;
  --white: #FFFFFF;
  --white-2: #EAEAEA;
  --white-3: #F5F5F5;
  --white-4: #E0E0E0;
  --gray-1: #8C8C8D;
  --elevated: #E9E9E9;
  --text: #1A1A1A;
  --text-2: #64748B;
  --text-3: #CBD5E1;
  --text-inv: #FFFFFF;
  --success: #1A9E3F;
  --warning: #B67B00;
  --danger: #D90217;
  --info: #0284C7;
  --radius-btn: 20px;
  --radius-card: 28px;
  --radius-input: 20px;
  --radius-sm: 13px;
  --shadow-1: rgba(0, 0, 0, 0.06) 0px 2px 70px 10px;
  --shadow-sm: rgba(0, 0, 0, 0.04) 0px 1px 10px 0px;
  --pad: 40px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==================== FONT AWESOME PRO LIGHT WEIGHT APP-WIDE ==================== */
@font-face {
  font-family: "Font Awesome 7 Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fontawesome/webfonts/fa-light-300.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fontawesome/webfonts/fa-light-300.woff2") format("woff2");
}

.fa, .fas, .far, .fal, .fa-solid, .fa-regular, .fa-light {
  font-family: "Font Awesome 7 Pro", "Font Awesome 6 Pro" !important;
  font-weight: 300 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 48px 0;
  border-bottom: 1px solid var(--white-2);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.14px;
}

.section-head p {
  color: var(--text-2);
  font-size: 15px;
  margin-top: 6px;
}

/* Grids & Flex */
.grid { display: grid; gap: 20px; }
.g1 { grid-template-columns: 1fr; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.muted { color: var(--text-2); }
code, kbd { font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ===== TYPOGRAPHY ===== */
h1.hero { font-size: 54px; font-weight: 900; letter-spacing: -0.3px; line-height: 1.1; }
.h1s { font-size: 48px; font-weight: 900; letter-spacing: -.3px; }
.h2s { font-size: 32px; font-weight: 900; letter-spacing: -.175px; }
.h3s { font-size: 26px; font-weight: 900; letter-spacing: -.16px; }
.h4s { font-size: 20px; font-weight: 700; letter-spacing: -.13px; }
.bodys { font-size: 16px; font-weight: 400; }
.smalls { font-size: 14px; color: var(--text-2); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-btn);
  padding: 16px 24px;
  font-size: 15px;
  text-decoration: none !important;
  transition: opacity .15s, background-color .15s, transform .05s;
}

.btn:hover { opacity: .88; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: var(--white-3); color: var(--text); }
.btn-secondary:hover { background: var(--white-4); }
.btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn-outline:hover { background: rgba(217, 2, 23, 0.05); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--white-3); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-disabled, .btn:disabled { background: var(--white-3) !important; color: var(--text-3) !important; cursor: not-allowed !important; opacity: 0.6; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 20px 32px; font-size: 17px; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.btn-icon.btn-sm { width: 36px; height: 36px; }

.btn-group {
  display: inline-flex;
  border-radius: var(--radius-btn);
  overflow: hidden;
  border: 1px solid var(--white-4);
}
.btn-group .btn { border-radius: 0; background: var(--white); border-right: 1px solid var(--white-4); }
.btn-group .btn:last-child { border-right: none; }
.btn-group .btn.active { background: var(--red); color: #fff; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge-primary { background: rgba(217, 2, 23, .1); color: var(--red); }
.badge-success { background: rgba(26, 158, 63, .1); color: var(--success); }
.badge-warning { background: rgba(182, 123, 0, .1); color: var(--warning); }
.badge-danger { background: var(--danger); color: #fff; }
.badge-info { background: rgba(22, 119, 255, .1); color: var(--info); }
.badge-outline { background: transparent; border: 1px solid var(--white-4); color: var(--text); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* ===== ALERTS ===== */
.alert {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.alert i { font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.alert-info { background: rgba(22, 119, 255, .08); color: #0B4FB3; }
.alert-success { background: rgba(26, 158, 63, .08); color: #0F6B2A; }
.alert-warning { background: rgba(182, 123, 0, .08); color: #7A5300; }
.alert-danger { background: rgba(217, 2, 23, .08); color: var(--red); }

/* ===== FORM CONTROLS ===== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; }
.input, textarea.input, select.input {
  background: var(--white-3);
  border: 1px solid transparent;
  border-radius: var(--radius-input);
  padding: 16px 20px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  color: var(--text);
  text-align: left;
  transition: border-color .15s, background .15s;
}
.input::placeholder { color: var(--text-2); }
.input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(174, 2, 18, .1); }
.input-error { border-color: var(--danger) !important; }
.helper { font-size: 12px; color: var(--text-2); text-align: left; margin-top: 4px; }
.helper.error { color: var(--danger); font-weight: 600; }
textarea.input { min-height: 110px; resize: vertical; }

/* Floating Label inputs */
.field-float { position: relative; display: flex; flex-direction: column; margin-bottom: 16px; }
.field-float .input { text-align: left; }
.field-float.icon .input { padding-left: 46px; }
.field-float label {
  position: absolute;
  left: 20px;
  top: 17px;
  text-align: left;
  font-size: 15px;
  color: var(--text-2);
  pointer-events: none;
  transition: all .15s ease;
}
.field-float.icon label { left: 46px; }
.field-float .icon-lead {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  z-index: 1;
}

.field-float .input:focus ~ label,
.field-float .input:not(:placeholder-shown) ~ label,
.field-float select.input ~ label,
.field-float .combo-trigger ~ label,
.field-float .date-trigger ~ label,
.field-float .input[type="date"] ~ label {
  top: -9px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  border-radius: 4px;
  padding: 0 6px;
  width: fit-content;
}
.field-float .input:focus ~ label { color: var(--accent); }

/* Combo select */
.select-wrap { position: relative; }
.combo-trigger {
  display: flex;
  align-items: center;
  padding-right: 44px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.combo.open .sel-chevron { transform: translateY(-50%) rotate(180deg); }
.sel-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  pointer-events: none;
  font-size: 14px;
  transition: transform .15s ease;
}
.combo-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 0.8px solid var(--white-2);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
}
.combo.open .combo-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.combo-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--white-2); }
.combo-search input { border: none; outline: none; font-family: inherit; font-size: 14px; width: 100%; background: transparent; }
.combo-options { max-height: 180px; overflow-y: auto; padding: 6px; }
.combo-option { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.combo-option:hover { background: var(--white-3); }
.combo-option.selected { color: var(--red); background: rgba(217, 2, 23, .06); }

/* Checkbox, Radio, Switch */
.checkbox, .radio { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; user-select: none; }
.checkbox input, .radio input { width: 18px; height: 18px; accent-color: var(--red); }
.switch { position: relative; width: 46px; height: 26px; display: inline-block; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--white-4); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .track:before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .track { background: var(--red); }
.switch input:checked + .track:before { transform: translateX(20px); }

/* Upload Area */
.upload {
  border: 1.5px dashed var(--white-4);
  border-radius: var(--radius-input);
  padding: 32px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  background: var(--white-3);
  transition: border-color .15s, background .15s;
}
.upload:hover { border-color: var(--red); background: #fff; }

/* Phone & OTP */
.phone-input { display: flex; background: var(--white-3); border-radius: var(--radius-input); overflow: hidden; }
.phone-input .flag { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: 14px; font-weight: 700; border-right: 1px solid var(--white-4); }
.phone-input input { border: none; background: transparent; padding: 16px 20px; font-size: 15px; flex: 1; outline: none; }
.otp { display: flex; gap: 10px; justify-content: center; }
.otp input { width: 50px; height: 58px; text-align: center; font-size: 22px; font-weight: 800; background: var(--white-3); border: none; border-radius: 14px; outline: none; }
.otp input:focus { border: 2px solid var(--accent); background: #fff; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 0.8px solid var(--white-2);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.card-stat .num { font-size: 32px; font-weight: 900; }
.card-stat .lbl { color: var(--text-2); font-size: 13px; margin-top: 4px; }
.card-notification { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--white-3); }

/* ===== AVATARS ===== */
.avatar { border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.avatar.xs { width: 28px; height: 28px; font-size: 11px; }
.avatar.sm { width: 36px; height: 36px; font-size: 13px; }
.avatar.md { width: 52px; height: 52px; font-size: 17px; }
.avatar.lg { width: 76px; height: 76px; font-size: 24px; }

/* ===== STEPS & WIZARD ===== */
.steps { display: flex; align-items: center; }
.step { display: flex; align-items: center; gap: 10px; }
.step .circ { width: 32px; height: 32px; border-radius: 50%; background: var(--white-3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text-2); }
.step.done .circ { background: var(--success); color: #fff; }
.step.active .circ { background: var(--red); color: #fff; }
.step-line { width: 40px; height: 2px; background: var(--white-4); margin: 0 6px; }
.step-line.done { background: var(--success); }

.wizard-steps { justify-content: space-between; margin-bottom: 32px; }
.wizard-steps .step { flex-direction: column; gap: 8px; text-align: center; }
.wizard-steps .step span { font-size: 12px; font-weight: 700; color: var(--text-2); }
.wizard-steps .step.active span, .wizard-steps .step.done span { color: var(--text); }
.wizard-steps .step-line { flex: 1; margin: 0 4px 22px; }
.wizard-steps .step-line.done { background: var(--red); }
[x-cloak] { display: none !important; }
.wizard-panel { display: none !important; }
.wizard-panel.active { display: block !important; }
.wizard-foot { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--white-2); }

/* ===== KPI BAR ===== */
.kpi-bar { display: grid; grid-template-columns: repeat(4, 1fr); border: 0.8px solid var(--white-2); border-radius: var(--radius-card); overflow: hidden; background: #fff; }
.kpi { padding: 22px 24px; border-right: 1px solid var(--white-2); }
.kpi:last-child { border-right: none; }
.kpi .lbl { font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.kpi .val { font-size: 24px; font-weight: 900; }
.kpi .trend { font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.trend.up { color: var(--success); }
.trend.down { color: var(--danger); }

/* ===== DATA TABLES ===== */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--text-2); font-size: 12px; text-transform: none; padding: 14px 18px; border-bottom: 1px solid var(--white-2); }
td { padding: 16px 18px; border-bottom: 1px solid var(--white-2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0, 0, 0, 0.015); }

/* ===== TABS ===== */
.tabs { display: flex; gap: 6px; background: var(--white-3); padding: 6px; border-radius: var(--radius-input); width: fit-content; }
.tab { padding: 10px 20px; border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--text-2); cursor: pointer; text-decoration: none !important; }
.tab.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* ===== ORDER QUEUE ===== */
.order-queue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.order-col h4 { font-size: 13px; margin-bottom: 12px; display: flex; justify-content: space-between; color: var(--text-2); font-weight: 800; }
.order-card { background: #fff; border: 0.8px solid var(--white-2); border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.order-card .o-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-card .o-id { font-weight: 800; font-size: 14px; }
.timer-chip { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(217, 2, 23, .1); color: var(--red); }
.order-card .o-meta { font-size: 12px; color: var(--text-2); margin-bottom: 12px; }
.order-card .o-actions { display: flex; gap: 8px; }
.order-card .o-actions .btn { flex: 1; padding: 10px; font-size: 12px; }

/* ===== LAYOUT SHELLS (PANEL) ===== */
.panel-layout { display: flex; min-height: 100vh; background: #F1F5F9; color: #0F172A; }
.panel-sidebar {
  width: 272px;
  min-width: 272px;
  background: #FFFFFF;
  border-right: 1px solid #E2E8F0;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  box-shadow: 2px 0 12px rgba(15, 23, 42, 0.03);
}
.panel-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px 18px 10px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 14px;
}
.panel-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.panel-brand .panel-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  color: #D90217;
  border: 1px solid #FECDD3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; padding-right: 2px; }
.panel-nav::-webkit-scrollbar { width: 4px; }
.panel-nav::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 999px; }
.panel-nav .nav-item,
.panel-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  border-left: 3px solid transparent;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .12s ease;
}
.panel-nav .nav-item i,
.panel-nav-item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  color: #64748B;
  flex-shrink: 0;
  transition: color .16s ease;
}
.panel-nav .nav-item:hover,
.panel-nav-item:hover { background: #F8FAFC; color: #0F172A; }
.panel-nav .nav-item:hover i,
.panel-nav-item:hover i { color: #D90217; }
.panel-nav .nav-item.active,
.panel-nav-item.active {
  background: #FFF1F2;
  color: #D90217;
  font-weight: 800;
  border-left-color: #D90217;
}
.panel-nav .nav-item.active i,
.panel-nav-item.active i { color: #D90217; }
[dir="rtl"] .panel-nav .nav-item,
[dir="rtl"] .panel-nav-item { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .panel-nav .nav-item.active,
[dir="rtl"] .panel-nav-item.active { border-left-color: transparent; border-right-color: #D90217; }

.panel-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.panel-header {
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 40;
  gap: 16px;
}
.panel-header .avatar-admin-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D90217, #991B1B);
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-header-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
.panel-storefront-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .15s ease;
}
.panel-storefront-link:hover { background: #FFF1F2; border-color: #FECDD3; color: #D90217; }
.panel-body { padding: 28px 32px 40px 32px; flex: 1; }
.panel-body .card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.panel-body .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
.panel-body .input,
.panel-body select.input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 12px;
  font-size: 13.5px;
  color: #0F172A;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.panel-body textarea.input {
  height: auto;
  padding: 12px 14px;
}
.panel-body .input:focus,
.panel-body select.input:focus {
  border-color: #D90217;
  box-shadow: 0 0 0 3px rgba(217, 2, 23, 0.1);
}

/* ===== EXECUTIVE KPI CARDS & STATUS PILLS ===== */
.kpi {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border-color: #CBD5E1;
}
.kpi-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.kpi .lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  line-height: 1.4;
}
.kpi-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFF1F2;
  color: #D90217;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.kpi .val { font-size: 26px; font-weight: 800; color: #0F172A; letter-spacing: -0.02em; line-height: 1.2; }
.kpi .trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.kpi .trend.up { background: #ECFDF5; color: #059669; }
.kpi .trend.down { background: #FEF2F2; color: #DC2626; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: capitalize;
}
.status-pill.transmitted { background: #E0F2FE; color: #0284C7; }
.status-pill.preparing { background: #FEF3C7; color: #D97706; }
.status-pill.delivered { background: #DCFCE7; color: #16A34A; }
.status-pill.cancelled { background: #FEE2E2; color: #DC2626; }

/* ===== BADGE VARIANTS ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.badge-primary { background: #FEE2E2; color: #DC2626; }
.badge-info { background: #E0F2FE; color: #0284C7; }
.badge-warning { background: #FEF3C7; color: #D97706; }
.badge-success { background: #DCFCE7; color: #16A34A; }
.badge-danger { background: #FEE2E2; color: #DC2626; }
.badge-secondary { background: #F1F5F9; color: #475569; }
.badge-outline { background: #FFFFFF; border: 1px solid #CBD5E1; color: #475569; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ===== DATA TABLES ===== */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13.5px;
}
.table thead th {
  background: #F8FAFC;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748B;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.table thead th:first-child { border-left: 1px solid #E2E8F0; border-top-left-radius: 10px; }
.table thead th:last-child { border-right: 1px solid #E2E8F0; border-top-right-radius: 10px; }
.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table tbody tr {
  transition: background .12s ease;
}
.table tbody tr:hover td {
  background: #F8FAFC;
}
.df-clickable-row { cursor: pointer; }
.df-clickable-row:hover td { background: #FFF8F8 !important; }

/* ===== PANEL OVERVIEW BANNER ===== */
.df-panel-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 18px;
  padding: 24px 28px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.df-panel-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.df-panel-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s ease, transform .12s ease;
}
.df-panel-quick-pill:hover {
  background: #D90217;
  border-color: #D90217;
  transform: translateY(-1px);
}

/* ===== PAGINATION (CUSTOM + DEFENSIVE SVG GUARD) ===== */
nav[role="navigation"] svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}
.df-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}
.df-pagination-info {
  font-size: 13px;
  color: #64748B;
}
.df-pagination-info strong {
  color: #0F172A;
  font-weight: 800;
}
.df-pagination-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.df-page-link,
.df-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  text-decoration: none !important;
  transition: all .15s ease;
}
a.df-page-link:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #D90217;
}
.df-page-item.active .df-page-link {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(217, 2, 23, 0.25);
}
.df-page-item.disabled .df-page-link {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #CBD5E1;
  cursor: not-allowed;
}
.df-page-dots {
  border-color: transparent;
  background: transparent;
  color: #94A3B8;
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .input, [dir="rtl"] textarea.input { text-align: right; }
[dir="rtl"] .field-float label { left: auto; right: 20px; text-align: right; }
[dir="rtl"] .field-float.icon label { right: 46px; left: auto; }
[dir="rtl"] .field-float .icon-lead { left: auto; right: 18px; }
[dir="rtl"] .field-float.icon .input { padding-left: 20px; padding-right: 46px; }
[dir="rtl"] th { text-align: right; }
[dir="rtl"] .panel-sidebar { border-right: none; border-left: 1px solid var(--white-2); }
[dir="rtl"] .sel-chevron { right: auto; left: 18px; }
[dir="rtl"] .kpi { border-right: none; border-left: 1px solid var(--white-2); }
[dir="rtl"] .kpi:last-child { border-left: none; }

/* ===== PROFESSIONAL INPUTS & SELECTORS ===== */
.form-label-premium {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.form-label-premium i {
  color: var(--red);
  font-size: 14px;
}
.input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-field-wrap .lead-icon {
  position: absolute;
  inset-inline-start: 16px;
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
  color: #94A3B8;
  font-size: 15px;
  pointer-events: none;
  z-index: 2;
}
.input-field-wrap .trail-icon {
  position: absolute;
  inset-inline-end: 16px;
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 12px;
  pointer-events: none;
  z-index: 2;
}
.input-field-wrap:focus-within .lead-icon {
  color: var(--red);
}
.input-field-wrap:focus-within .trail-icon {
  color: var(--red);
}
.input-field-wrap .df-pw-toggle-btn {
  position: absolute;
  inset-inline-end: 10px;
  top: 0;
  bottom: 0;
  margin-block: auto;
  transform: none !important;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #52525B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  box-shadow: none !important;
}
.input-field-wrap .df-pw-toggle-btn:hover,
.input-field-wrap .df-pw-toggle-btn:focus-visible,
.input-field-wrap .df-pw-toggle-btn:active {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
  transform: none !important;
}
.input-field-wrap.has-pw-toggle .input-premium {
  padding-inline-end: 48px !important;
}
.df-phone-input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 50px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  padding: 0;
  overflow: hidden;
  direction: ltr;
  box-sizing: border-box;
}
.df-phone-input-wrap.is-compact {
  height: 46px;
}
.df-phone-input-wrap:focus-within {
  background: #FFFFFF;
  border-color: #D90217;
}
.df-phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 100%;
  padding: 0 14px 0 16px;
  margin: 0;
  border-radius: 0;
  background: #FFFFFF;
  border: none;
  border-right: 1px solid #E0E0E0;
  color: #000000;
  white-space: nowrap;
  box-sizing: border-box;
}
.df-phone-input-wrap:focus-within .df-phone-prefix {
  border-right-color: #EAEAEA;
}
.df-ma-flag {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: block;
}
.df-phone-country {
  font-size: 11.5px;
  font-weight: 800;
  color: #52525B;
  letter-spacing: 0.04em;
  line-height: 1;
}
.df-phone-code {
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.01em;
  line-height: 1;
}
.df-phone-local-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  font-family: inherit;
  padding: 0 18px 0 14px;
  box-shadow: none !important;
}
.df-phone-local-input::placeholder {
  color: #64748B;
  font-weight: 600;
}

.input-premium,
select.select-premium {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  padding-inline-start: 46px;
  padding-inline-end: 42px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #000000;
  background-color: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 999px;
  box-shadow: none;
  text-align: start;
  box-sizing: border-box;
}
textarea.input-premium {
  height: auto;
  border-radius: 20px;
  padding: 12px 16px;
}
.input-premium::placeholder {
  color: #64748B;
  font-weight: 600;
}
.input-premium:hover,
select.select-premium:hover {
  border-color: #D4D4D8;
}
.input-premium:focus,
select.select-premium:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: #D90217;
  box-shadow: none;
}
select.select-premium {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
select.select-premium option {
  padding: 12px;
  font-size: 14px;
  color: #0F172A;
  background-color: #FFFFFF;
}

/* Hero Search Console & City Selector */
.hero-search-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  max-width: 800px;
  margin: 0 auto;
  transition: all 0.25s ease;
}
.hero-search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 24px 50px -10px rgba(217, 2, 23, 0.18), 0 0 0 4px rgba(217, 2, 23, 0.08);
}
.hero-city-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 14px;
  min-width: 190px;
  border-inline-end: 1.5px solid #E2E8F0;
}
.hero-city-select-wrap select {
  width: 100%;
  border: none;
  background: transparent;
  font-weight: 800;
  font-size: 14px;
  color: #0F172A;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-inline-start: 22px;
  padding-inline-end: 22px;
}
.hero-city-select-wrap .city-icon {
  position: absolute;
  inset-inline-start: 12px;
  color: var(--red);
  font-size: 16px;
  pointer-events: none;
}
.hero-city-select-wrap .city-chevron {
  position: absolute;
  inset-inline-end: 12px;
  color: #94A3B8;
  font-size: 11px;
  pointer-events: none;
}
.hero-location-btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 14px;
  white-space: nowrap;
  color: #475569;
  gap: 6px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.hero-location-btn:hover {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}
.hero-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  font-family: inherit;
  padding: 6px 10px;
}
.hero-search-input::placeholder {
  color: #94A3B8;
}

/* ===== PROFESSIONAL FOOTER ===== */
.footer-dark-premium {
  background: #090D16;
  color: #F8FAFC;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  border-top: 1px solid #1E293B;
}
.footer-guarantees-strip {
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 36px 0;
}
.footer-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.footer-guarantee-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
}
.footer-guarantee-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(217, 2, 23, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(217, 2, 23, 0.2);
}
.footer-main-content {
  padding: 64px 0 40px 0;
}
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.2fr 1.3fr;
  gap: 48px;
}
.footer-brand-title {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ADE80;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
}
.footer-col-header {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-header::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.footer-link {
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-link:hover {
  color: #FFFFFF;
  text-decoration: none;
  transform: translateX(4px);
}
[dir="rtl"] .footer-link:hover {
  transform: translateX(-4px);
}
.footer-trust-strip {
  border-top: 1px solid #1E293B;
  border-bottom: 1px solid #1E293B;
  padding: 24px 0;
  background: rgba(15, 23, 42, 0.6);
}
.footer-trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1;
  font-size: 12.5px;
  font-weight: 700;
}
.footer-trust-item i {
  color: var(--red);
  font-size: 16px;
}
.footer-social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.footer-social-pill:hover {
  background: var(--red);
  color: #FFFFFF;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 2, 23, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .kpi-bar { grid-template-columns: repeat(2, 1fr); }
  .order-queue { grid-template-columns: 1fr; }
  .footer-columns-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 768px) {
  .g2, .g3, .g4, .g6 { grid-template-columns: 1fr; }
  .panel-layout { flex-direction: column; }
  .panel-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--white-2); }
  .wrap { padding: 0 16px; }
  .hero-search-box { flex-direction: column; border-radius: 20px; padding: 12px; }
  .hero-city-select-wrap { width: 100%; border-inline-end: none; border-bottom: 1px solid #E2E8F0; padding-bottom: 8px; margin-bottom: 6px; }
  .footer-columns-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== SNOONU-STYLE SUPER APP MARKETPLACE ===== */
.snoonu-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #EAECEF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.snoonu-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.snoonu-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.snoonu-drawer-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F1F4F7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.snoonu-drawer-toggle:hover {
  background: #E2E8F0;
  color: var(--red);
}
.snoonu-logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.snoonu-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  max-width: 240px;
}
.snoonu-location-pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 175px;
  display: inline-block;
}
.snoonu-location-pill:hover {
  border-color: var(--red);
  background: #FFFFFF;
  color: var(--red);
}
/* Centered Location Picker Modal (Pure Flat Design) */
.df-loc-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.50);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.df-loc-modal-backdrop[hidden],
.df-loc-modal-backdrop[x-cloak] {
  display: none !important;
}
.df-loc-modal-window {
  background: #FFFFFF;
  width: 100%;
  max-width: 640px;
  border-radius: 24px;
  border: 1px solid #E0E0E0;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-height: calc(100vh - 40px);
}
.df-loc-modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #EAEAEA;
  background: #FFFFFF;
}
.df-loc-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.df-loc-modal-close:hover {
  background: #EAEAEA;
}
.df-loc-modal-search-bar {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2500;
  background: #FFFFFF;
}
.df-loc-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  background: #F5F5F5;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 0 14px;
}
.df-loc-search-input-wrap:focus-within {
  background: #FFFFFF;
  border-color: #D90217;
}
.df-loc-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
  outline: none;
  font-family: inherit;
}
.df-loc-search-input::placeholder {
  color: #52525B;
}
.df-loc-confirm-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #D90217;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  flex-shrink: 0;
}
.df-loc-confirm-btn:hover {
  background: #AE0212;
}
.df-loc-address-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 18px;
  box-shadow: none !important;
  z-index: 3000;
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
}
.df-loc-address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 12px;
  background: #FFFFFF;
  text-align: start;
  cursor: pointer;
  font-family: inherit;
}
.df-loc-address-item:hover {
  background: #F5F5F5;
}
.df-loc-map-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  height: 340px;
  width: 100%;
  background: #F5F5F5;
  border-top: 1px solid #EAEAEA;
  overflow: hidden;
}
.df-loc-locate-btn {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  z-index: 1000;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: none !important;
}
.df-loc-locate-btn:hover {
  background: #F5F5F5;
}
@media (max-width: 560px) {
  .df-loc-modal-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .df-loc-confirm-btn {
    width: 100%;
  }
}
.snoonu-search-bar {
  flex: 1;
  max-width: 500px;
  height: 42px;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #F5F5F5;
  border-radius: 999px;
  padding: 0;
  border: 1px solid #E5E7EB;
  box-shadow: none !important;
}
.snoonu-search-bar:focus-within {
  background: #FFFFFF;
  border-color: #D90217;
  box-shadow: none !important;
}
.df-search-cat-half {
  position: relative;
  flex: 0 0 40%;
  min-width: 145px;
  max-width: 196px;
  display: flex;
  align-items: stretch;
}
.df-search-input-half {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px 3px 12px;
}
[dir="rtl"] .df-search-input-half {
  padding: 3px 12px 3px 4px;
}
.df-search-cat-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.df-search-cat-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: start;
}
.df-search-clear-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #E0E0E0;
  background: #FFFFFF;
  color: #52525B;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.df-search-clear-btn:hover {
  background: #EAEAEA;
  color: #000000;
}
.df-sug-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #EAEAEA;
  background: #FFFFFF;
}
.df-sug-tab-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #E0E0E0;
  background: #FFFFFF;
  color: #000000;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.df-sug-tab-btn:hover {
  background: #F5F5F5;
}
.df-sug-tab-btn.is-active {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}
/* Support Chat Pre-Answer Chips & Bot Bubble */
.df-chat-preanswer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.df-chat-preanswer-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #FECACA;
  background: #FFF1F2;
  color: #B91C1C;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  text-align: start;
}
.df-chat-preanswer-chip:hover {
  background: #D90217;
  color: #FFFFFF;
  border-color: #D90217;
}
.df-chat-msg-bot {
  background: #FFFFFF;
  border: 1px solid #DBEAFE;
  color: #1E293B;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.df-chat-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 5px;
}
.df-chat-handoff-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.df-chat-handoff-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}
.godash-cat-selector-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px 0 18px;
  background: #FFFFFF;
  border: none;
  border-inline-end: 1px solid #E5E7EB;
  border-start-start-radius: 999px;
  border-end-start-radius: 999px;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  font-family: inherit;
}
[dir="rtl"] .godash-cat-selector-btn {
  padding: 0 18px 0 16px;
}
.godash-cat-selector-btn:hover {
  background: #EFEFEF;
  color: #000000;
}
.godash-cat-popover {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 276px;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: none !important;
  border: 1px solid #E0E0E0;
  z-index: 6000;
  padding: 10px;
  max-height: 410px;
  overflow-y: auto;
}
.df-cat-popover-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #52525B;
  padding: 6px 10px 8px 10px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #EAEAEA;
  margin-bottom: 6px;
}
.godash-cat-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: start;
}
.godash-cat-option:hover {
  background: #F5F5F5;
  color: #D90217;
}
.godash-cat-option.active {
  background: #FFF1F2;
  color: #D90217;
  font-weight: 800;
}
.godash-cat-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #F5F5F5;
  color: #D90217;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.godash-cat-option.active .godash-cat-icon-badge {
  background: #D90217;
  color: #FFFFFF;
}
.godash-suggestions-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: none !important;
  border: 1px solid #E0E0E0;
  z-index: 5500;
  overflow: hidden;
  max-height: 490px;
  overflow-y: auto;
}
.df-sug-trending-body {
  padding: 18px 20px;
}
.df-sug-block {
  margin-bottom: 16px;
}
.df-sug-block.is-bordered {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid #EAEAEA;
}
.df-sug-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.df-sug-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.df-sug-dept-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #F5F5F5;
  border-radius: 14px;
  border: 1px solid #EAEAEA;
  text-decoration: none !important;
  color: #000000;
  font-size: 12.5px;
  font-weight: 700;
}
.df-sug-dept-tile:hover {
  background: #FFFFFF;
  border-color: #D90217;
  color: #D90217;
}
.godash-sug-section-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #52525B;
  letter-spacing: 0.5px;
  padding: 14px 18px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.godash-sug-section-title.is-flush {
  padding: 0 0 10px 0;
}
.godash-sug-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid #F0F0F0;
}
.godash-sug-item:hover {
  background: #F5F5F5;
}
.df-sug-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #E5E7EB;
  background: #F5F5F5;
  flex-shrink: 0;
}
.df-sug-item-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #000000;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-sug-item-sub {
  font-size: 12px;
  font-weight: 600;
  color: #52525B;
}
.df-sug-rating-pill {
  font-size: 11.5px;
  font-weight: 800;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.df-sug-time-text {
  font-size: 12px;
  font-weight: 700;
  color: #52525B;
}
.df-sug-price-text {
  font-size: 14px;
  font-weight: 900;
  color: #000000;
  white-space: nowrap;
}
.df-sug-add-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: #D90217;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.df-sug-add-btn:hover {
  background: #AE0212;
}
.df-sug-match-cats {
  padding: 14px 18px;
  border-top: 1px solid #EAEAEA;
  background: #F5F5F5;
}
.df-sug-empty {
  padding: 36px 20px;
  text-align: center;
}
.df-sug-empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #F5F5F5;
  border: 1px solid #E5E7EB;
  color: #52525B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.df-sug-empty-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 4px 0;
}
.df-sug-empty-sub {
  font-size: 12.5px;
  color: #52525B;
  margin: 0;
}
.df-sug-footer {
  padding: 12px 18px;
  background: #F5F5F5;
  border-top: 1px solid #EAEAEA;
  text-align: center;
}
.df-sug-footer-link {
  font-size: 13px;
  font-weight: 800;
  color: #D90217;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.df-sug-footer-link:hover {
  color: #AE0212;
}
.godash-sug-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #F5F5F5;
  color: #000000;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid #EAEAEA;
  cursor: pointer;
  text-decoration: none !important;
}
.godash-sug-chip.is-white {
  background: #FFFFFF;
  border-color: #E0E0E0;
}
.godash-sug-chip:hover {
  background: #FFFFFF;
  color: #D90217;
  border-color: #D90217;
}
.snoonu-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 6px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
  outline: none;
  width: 100%;
  font-family: inherit;
}
.snoonu-search-input::placeholder {
  color: #52525B;
  font-weight: 500;
}
.snoonu-search-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #D90217;
  color: #FFFFFF;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.snoonu-search-btn:hover {
  background: #AE0212;
}
.snoonu-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.snoonu-nav-item {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.snoonu-nav-item:hover {
  color: var(--red);
  background: #F8FAFC;
}
.snoonu-login-btn {
  background: #F1F4F7;
  color: #0F172A;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.snoonu-login-btn:hover {
  background: #E2E8F0;
  color: var(--red);
}

/* Category Grid */
.snoonu-cat-card {
  background: #F1F4F7;
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 98px;
}
.snoonu-cat-card:hover {
  background: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.snoonu-cat-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 6px;
  transition: transform 0.2s ease;
}
.snoonu-cat-card:hover img {
  transform: scale(1.12);
}
.snoonu-cat-card span {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

/* For You Section Toggle */
.snoonu-for-you-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 32px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}
.snoonu-for-you-btn:hover {
  background: var(--red);
  transform: scale(1.03);
}

/* Product Card */
.snoonu-prod-card {
  background: #FFFFFF;
  border: 1px solid #ECEFF2;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}
.snoonu-prod-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.snoonu-prod-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FAFAFA;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.snoonu-prod-img-box img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.snoonu-prod-card:hover .snoonu-prod-img-box img {
  transform: scale(1.06);
}
.snoonu-prod-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #F1F4F7;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.15s ease;
  z-index: 2;
}
.snoonu-prod-fav:hover {
  color: var(--red);
  transform: scale(1.1);
}
.snoonu-prod-add {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
  z-index: 2;
}
.snoonu-prod-add:hover {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
  transform: scale(1.1);
}
.snoonu-prod-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 2;
}
.snoonu-prod-price {
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.snoonu-prod-old-price {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}
.snoonu-prod-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
  margin-top: 4px;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.snoonu-prod-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 6px;
}
.snoonu-prod-rating i {
  color: #F59E0B;
}
.snoonu-prod-rating span {
  color: #94A3B8;
  font-weight: 600;
}

/* Trendy categories widget */
.snoonu-trendy-box {
  background: #F8FAFC;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  height: 100%;
}
.snoonu-trendy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #ECEFF2;
  margin-top: 10px;
  text-decoration: none !important;
  color: #0F172A;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.snoonu-trendy-item:hover {
  border-color: var(--red);
  transform: translateX(4px);
  color: var(--red);
}
.snoonu-trendy-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 10px;
}

/* Offers & Events Cards */
.snoonu-events-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.snoonu-events-row::-webkit-scrollbar {
  display: none;
}
.snoonu-event-card {
  min-width: 210px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  text-decoration: none !important;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.snoonu-event-card:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Brand Logos Row */
.snoonu-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #0F172A;
}
.snoonu-brand-circle {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #ECEFF2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #0F172A;
  transition: all 0.2s ease;
}
.snoonu-brand-item:hover .snoonu-brand-circle {
  transform: scale(1.06);
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.snoonu-brand-item span {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Slide-out Drawer (Image 2) */
.snoonu-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 2000;
}
.snoonu-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  background: #FFFFFF;
  z-index: 2001;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 20px 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[dir="rtl"] .snoonu-drawer {
  left: auto;
  right: 0;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}
.snoonu-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  color: #0F172A;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s ease;
  margin-bottom: 4px;
}
.snoonu-drawer-item:hover {
  background: #F1F4F7;
  color: var(--red);
}
.snoonu-drawer-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 12px;
}
[dir="rtl"] .snoonu-drawer-item img {
  margin-right: 0;
  margin-left: 12px;
}

/* ==================== ALPINE X-CLOAK GLOBAL ==================== */
[x-cloak] {
  display: none !important;
}

/* ==================== AJAX AUTH MODAL STYLING ==================== */
.godash-auth-backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.godash-auth-window {
  background: #FFFFFF;
  width: 100%;
  max-width: 430px;
  margin: auto;
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid #ECEFF2;
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
  0% { opacity: 0; transform: scale(0.92) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.godash-auth-nav {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background: #F1F5F9 !important;
  border-radius: 999px !important;
  padding: 4px !important;
  gap: 4px !important;
  margin: 16px 24px 0 24px !important;
  border: 0 !important;
}
.godash-auth-tab {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #64748B !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.godash-auth-tab:hover {
  color: #0F172A !important;
}
.godash-auth-tab.active {
  background: #FFFFFF !important;
  color: #0F172A !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   DASHFRESH MARKETPLACE & HOME PAGE (SHARED IMAGE 3 & IMAGE 1 FIX)
   ========================================================================== */

/* 1. Top 10-Category Visual Strip (Full Width Left-to-Right) */
.df-top-cats-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(105px, 1fr));
  gap: 14px;
  width: 100%;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.df-top-cats-grid::-webkit-scrollbar {
  display: none;
}
.df-top-cat-card {
  background: #F5F5F5;
  border: 1.5px solid #EAEAEA;
  border-radius: 20px;
  padding: 10px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 118px;
  position: relative;
  overflow: hidden;
}
.df-top-cat-card:hover {
  transform: translateY(-4px);
  background: #FFFFFF;
  border-color: var(--red);
  box-shadow: 0 12px 24px rgba(217, 2, 23, 0.10);
}
.df-top-cat-card.active {
  background: linear-gradient(145deg, #D90217 0%, #AE0212 100%);
  border-color: #D90217;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(217, 2, 23, 0.28);
}
.df-top-cat-img-wrap {
  width: 64px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.df-top-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.df-top-cat-card:hover .df-top-cat-img-wrap img {
  transform: scale(1.08);
}
.df-top-cat-card span,
.df-top-cat-label {
  font-size: 13px;
  font-weight: 800;
  color: #1A1A1A;
  text-align: center;
  line-height: 1.2;
}
.df-top-cat-card.active span,
.df-top-cat-card.active .df-top-cat-label {
  color: #FFFFFF;
}

/* 2. Home Workspace Layout (Left Sidebar + Right Main Sections) */
.df-home-workspace {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}
.df-sidebar-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 22px;
  padding: 14px 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.df-sidebar-cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: #1A1A1A;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.18s ease;
  text-align: start;
}
.df-sidebar-cat-icon,
.df-sidebar-cat-btn i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  color: #64748B;
  transition: color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.df-sidebar-cat-btn:hover {
  background: #F5F5F5;
  color: var(--red);
}
.df-sidebar-cat-btn:hover i,
.df-sidebar-cat-btn:hover .df-sidebar-cat-icon {
  color: var(--red);
}
.df-sidebar-cat-btn.active {
  background: var(--red);
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(217, 2, 23, 0.25);
}
.df-sidebar-cat-btn.active i,
.df-sidebar-cat-btn.active .df-sidebar-cat-icon {
  color: #FFFFFF !important;
}

/* 3. Section Header with Vertical Red Accent Bar & Carousel Nav */
.df-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.df-section-title-group,
.df-section-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.df-section-red-bar,
.df-section-bar {
  width: 4px;
  height: 28px;
  background: var(--red);
  border-radius: 999px;
  margin-top: 3px;
  flex-shrink: 0;
}
.df-section-title {
  font-size: 23px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.df-section-subtitle {
  font-size: 13px;
  color: #8C8C8D;
  margin: 3px 0 0 0;
  font-weight: 600;
}
.df-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--red);
  text-decoration: none !important;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.df-view-all-link:hover {
  background: rgba(217, 2, 23, 0.08);
  transform: translateX(2px);
}
.df-carousel-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.df-carousel-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #EAEAEA;
  color: #1A1A1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.df-carousel-arrow-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 2, 23, 0.25);
}

/* 4. DashFresh Food & Grocery Cards (5-Column Full Width Grid) */
.df-cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
.df-food-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.df-food-card:hover {
  transform: translateY(-5px);
  border-color: #D90217;
  box-shadow: 0 14px 32px rgba(217, 2, 23, 0.10);
}
.df-food-card-media {
  position: relative;
  height: 156px;
  background: #F5F5F5;
  overflow: hidden;
}
.df-food-card-media.grocery-media {
  height: 148px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.df-food-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.df-food-card-media.grocery-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.df-food-card:hover .df-food-card-media img {
  transform: scale(1.06);
}
.df-bestseller-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(217, 2, 23, 0.35);
  z-index: 2;
}
.df-fav-btn,
.df-card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #EAEAEA;
  color: #D90217;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.18s ease;
  z-index: 3;
}
.df-fav-btn:hover,
.df-card-fav-btn:hover {
  transform: scale(1.12);
  background: #D90217;
  color: #FFFFFF;
}
.df-fav-btn.is-fav,
.df-card-fav-btn.is-favorited,
.df-card-fav-btn.is-fav {
  background: #D90217;
  color: #FFFFFF;
  border-color: #D90217;
}
.df-food-card-body {
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.df-food-card-title {
  font-size: 15px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0 0 3px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-food-card-sub {
  font-size: 12px;
  color: #8C8C8D;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-food-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #64748B;
  font-weight: 700;
  margin-bottom: 12px;
}
.df-food-card-meta .star {
  color: #F59E0B;
  margin-right: 3px;
}
.df-food-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #F5F5F5;
  min-height: 44px;
}
.df-food-price,
.df-price-tag {
  font-size: 15px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.df-add-pill-btn {
  background: var(--red);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
  box-shadow: 0 4px 12px rgba(217, 2, 23, 0.25);
  white-space: nowrap;
  height: 34px;
}
.df-add-pill-btn:hover {
  background: var(--accent);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 16px rgba(217, 2, 23, 0.35);
}
.df-add-pill-btn:active {
  transform: scale(0.96);
}
.df-add-pill-btn.is-added {
  background: #1A9E3F !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(26, 158, 63, 0.3) !important;
}

/* Inline Quantity Stepper on Product & Menu Cards (- 1 +) */
.df-card-inline-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF0F1;
  border: 1.5px solid #D90217;
  border-radius: 999px;
  padding: 2px;
  height: 34px;
  min-width: 92px;
  box-shadow: 0 4px 12px rgba(217, 2, 23, 0.14);
  animation: fadeIn 0.18s ease-out;
}
.df-stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
.df-stepper-btn.minus {
  background: #FFFFFF;
  color: #D90217;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.df-stepper-btn.minus:hover {
  background: #FEE2E2;
  transform: scale(1.06);
}
.df-stepper-btn.plus {
  background: #D90217;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(217, 2, 23, 0.3);
}
.df-stepper-btn.plus:hover {
  background: #AE0212;
  transform: scale(1.06);
}
.df-stepper-qty {
  font-size: 13px;
  font-weight: 900;
  color: #1A1A1A;
  padding: 0 8px;
  min-width: 24px;
  text-align: center;
}

/* 5. Circular Favourite Brands Carousel / Grid (Professional Circular Design) */
.df-brands-full-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(112px, 1fr));
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  padding: 8px 4px 14px 4px;
  scrollbar-width: none;
}
.df-brands-full-grid::-webkit-scrollbar {
  display: none;
}
.df-brand-card-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
  color: #1A1A1A;
  padding: 12px 8px;
  border-radius: 24px;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.df-brand-card-full:hover {
  transform: translateY(-6px);
}
.df-brand-circle-outer {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #EAEAEA 0%, #FFFFFF 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}
.df-brand-card-full:hover .df-brand-circle-outer {
  background: linear-gradient(135deg, #D90217 0%, #FF4D5E 100%);
  box-shadow: 0 14px 30px rgba(217, 2, 23, 0.24);
  transform: scale(1.05);
}
.df-brand-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-align: center;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
}
.df-brand-rating-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  color: #1A1A1A;
  border: 1px solid #EAEAEA;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
  white-space: nowrap;
}
.df-brand-rating-pill i {
  color: #F59E0B;
  font-size: 9px;
}
.df-brand-name {
  font-size: 13.5px;
  font-weight: 900;
  color: #1A1A1A;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.2s ease;
}
.df-brand-card-full:hover .df-brand-name {
  color: var(--red);
}
.df-brand-time {
  font-size: 11px;
  font-weight: 700;
  color: #8C8C8D;
  margin-top: 2px;
}

/* 6. Circular Restaurants & Cafes Cuisine Filter Carousel */
.df-cuisines-full-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(112px, 1fr);
  gap: 14px;
  width: 100%;
  overflow-x: auto;
  padding: 8px 4px 16px 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.df-cuisines-full-grid::-webkit-scrollbar {
  display: none;
}
.df-cuisine-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 6px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  font-family: inherit;
}
.df-cuisine-pill-item:hover {
  transform: translateY(-5px);
}
.df-cuisine-circle-box {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #ECEFF2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  overflow: hidden;
  transition: all 0.22s ease;
  position: relative;
  flex-shrink: 0;
}
.df-cuisine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.22s ease;
}
.df-cuisine-pill-item:hover .df-cuisine-img {
  transform: scale(1.08);
}
.df-cuisine-emoji {
  line-height: 1;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.08));
  transition: transform 0.22s ease;
}
.df-cuisine-pill-item:hover .df-cuisine-circle-box {
  border-color: rgba(217, 2, 23, 0.45);
  box-shadow: 0 12px 26px rgba(217, 2, 23, 0.14);
}
.df-cuisine-pill-item:hover .df-cuisine-emoji {
  transform: scale(1.14);
}
.df-cuisine-pill-item.active .df-cuisine-circle-box {
  background: linear-gradient(135deg, #FFF0F1 0%, #FFE4E6 100%);
  border: 2.5px solid #D90217;
  box-shadow: 0 10px 24px rgba(217, 2, 23, 0.22);
  transform: scale(1.05);
}
.df-cuisine-label {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-align: center;
  max-width: 112px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.df-cuisine-pill-item:hover .df-cuisine-label,
.df-cuisine-pill-item.active .df-cuisine-label {
  color: #D90217;
  font-weight: 900;
}

/* Quick Filter Chips & 4-Column Restaurant Cards Grid */
.df-quick-filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.df-quick-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #1A1A1A;
  font-size: 12.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.df-quick-filter-chip i {
  color: #D90217;
}
.df-quick-filter-chip:hover {
  border-color: #D90217;
  background: #FFF0F1;
}
.df-quick-filter-chip.active {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(217, 2, 23, 0.25);
}
.df-quick-filter-chip.active i {
  color: #FFFFFF;
}
.df-quick-filter-reset {
  padding: 9px 16px;
  border-radius: 999px;
  background: #FFF0F1;
  border: 1px solid rgba(217, 2, 23, 0.2);
  color: #D90217;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}
.df-restaurants-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}
.df-rest-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #EAEAEA;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.df-rest-card:hover {
  transform: translateY(-6px);
  border-color: #D90217;
  box-shadow: 0 18px 36px rgba(217, 2, 23, 0.11);
}
.df-rest-card-media {
  position: relative;
  height: 176px;
  background: #F1F5F9;
  overflow: hidden;
}
.df-rest-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.df-rest-card:hover .df-rest-card-media img {
  transform: scale(1.07);
}
.df-rest-card-promo {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.df-rest-card-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.df-rest-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.df-rest-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.df-rest-card-title {
  font-size: 16.5px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.df-rest-card:hover .df-rest-card-title {
  color: #D90217;
}
.df-rest-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 8px;
  background: #FFFBEB;
  color: #92400E;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
.df-rest-card-rating i {
  color: #F59E0B;
  font-size: 10px;
}
.df-rest-card-tags {
  font-size: 12.5px;
  font-weight: 600;
  color: #8C8C8D;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-rest-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  font-size: 12px;
  font-weight: 800;
}
.df-rest-card-free {
  color: #127A31;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.df-rest-card-cta {
  color: #D90217;
  transition: transform 0.2s ease;
}
.df-rest-card:hover .df-rest-card-cta {
  transform: translateX(3px);
}

/* 7. Center Zoom-In -> Zoom-Out Fly-To-Cart Animation & Cart Icon Shake */
.df-flying-item {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  pointer-events: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #D90217;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(217, 2, 23, 0.38), 0 0 0 6px rgba(255, 255, 255, 0.92);
  will-change: transform, opacity;
}
@keyframes dfCartShake {
  0%, 100% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.24) rotate(-10deg); }
  40% { transform: scale(1.24) rotate(10deg); }
  60% { transform: scale(1.15) rotate(-6deg); }
  80% { transform: scale(1.08) rotate(4deg); }
}
.df-cart-shake {
  animation: dfCartShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* 8. Redesigned Flat Cart Popup Window */
.df-cart-popup {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  width: 424px;
  max-width: calc(100vw - 24px);
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E0E0E0;
  box-shadow: none !important;
  z-index: 8000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.df-cart-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EAEAEA;
  margin-bottom: 14px;
}
.df-cart-popup-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.df-cart-popup-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.df-cart-popup-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #D90217;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: none !important;
}
.df-cart-popup-heading {
  font-size: 15.5px;
  font-weight: 900;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.df-cart-popup-count-pill {
  font-size: 11px;
  font-weight: 800;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  color: #000000;
  padding: 2px 9px;
  border-radius: 999px;
}
.df-cart-popup-subheading {
  font-size: 11.5px;
  font-weight: 600;
  color: #71717A;
  margin-top: 2px;
}
.df-cart-popup-clear-btn {
  height: 32px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #52525B;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}
.df-cart-popup-clear-btn:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #D90217;
}
.df-cart-popup-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}
.df-cart-popup-close-btn:hover {
  background: #EAEAEA;
  color: #000000;
}
.df-cart-free-bar {
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.df-cart-free-bar.is-unlocked {
  background: #ECFDF5;
  border-color: #A7F3D0;
}
.df-cart-free-bar-text {
  font-size: 12px;
  font-weight: 700;
  color: #27272A;
  display: flex;
  align-items: center;
  gap: 7px;
}
.df-cart-free-bar-text.unlocked {
  color: #047857;
}
.df-cart-free-track {
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}
.df-cart-free-fill {
  height: 100%;
  background: #D90217;
  border-radius: 999px;
  transition: width 0.25s ease;
}
.df-cart-popup-empty {
  padding: 36px 20px;
  text-align: center;
}
.df-cart-popup-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #F5F5F5;
  border: 1px solid #E5E7EB;
  color: #D90217;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 24px;
}
.df-cart-popup-empty-title {
  font-size: 15px;
  font-weight: 900;
  color: #000000;
  margin: 0 0 4px 0;
}
.df-cart-popup-empty-sub {
  font-size: 12.5px;
  color: #71717A;
  margin: 0;
}
.df-cart-popup-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 296px;
  overflow-y: auto;
  padding-inline-end: 2px;
}
.df-cart-popup-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  overflow: hidden;
  height: 86px;
  min-height: 86px;
  max-height: 86px;
}
.df-cart-popup-item:hover {
  background: #FFFFFF;
  border-color: #D4D4D8;
  box-shadow: none !important;
}
.df-cart-popup-thumb-wrap {
  flex: 0 0 36%;
  width: 36%;
  max-width: 136px;
  height: 86px;
  background: #EAEAEA;
  overflow: hidden;
  flex-shrink: 0;
}
.df-cart-popup-thumb {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  background: #EAEAEA;
  border: none;
  display: block;
}
.df-cart-popup-info {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.df-cart-popup-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #000000;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-cart-popup-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.df-cart-popup-trash {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #52525B;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.df-cart-popup-trash:hover {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #D90217;
}
.df-cart-popup-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0;
}
.df-cart-popup-price {
  font-size: 13.5px;
  font-weight: 900;
  color: #000000;
  white-space: nowrap;
}
.df-qty-stepper {
  display: inline-flex;
  align-items: center;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 999px;
  padding: 2px 3px;
  gap: 3px;
}
.df-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: none;
  background: #F5F5F5;
  color: #000000;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.df-qty-btn:hover {
  background: #EAEAEA;
  color: #000000;
}
.df-qty-btn.plus {
  background: #D90217;
  color: #FFFFFF;
}
.df-qty-btn.plus:hover {
  background: #AE0212;
  color: #FFFFFF;
}
.df-qty-val {
  font-size: 12.5px;
  font-weight: 900;
  color: #000000;
  min-width: 22px;
  text-align: center;
}
.df-cart-popup-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #EAEAEA;
}
.df-cart-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.df-cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #52525B;
}
.df-cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 900;
  color: #000000;
  padding-top: 10px;
  border-top: 1px solid #EAEAEA;
  margin-bottom: 14px;
}
.df-cart-total-amount {
  color: #D90217;
  font-size: 18px;
}
.df-view-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px !important;
  background: #D90217 !important;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: none !important;
}
.df-view-cart-btn:hover {
  background: #AE0212 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* 9. Restaurant / Store Detail Page (Full-Width, Circular Logo, Clean Menu Grid) */
.df-rest-page-wrap {
  background: #F5F5F5;
  min-height: 100vh;
  padding: 18px 0 80px 0;
}
.df-rest-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.df-rest-hero {
  position: relative;
  height: clamp(240px, 27vw, 360px);
  border-radius: 26px;
  overflow: hidden;
  background: #18181B;
  border: 1px solid #EAEAEA;
  margin-bottom: 0;
  box-shadow: none;
}
.df-rest-hero-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}
.df-rest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.df-rest-hero-topbar {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.df-rest-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-rest-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  box-shadow: none;
}
.df-rest-circle-btn.dark {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
}
.df-rest-circle-btn.dark:hover {
  background: #D90217;
  border-color: #D90217;
}
.df-rest-circle-btn.light {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  color: #18181B;
}
.df-rest-circle-btn.light:hover,
.df-rest-circle-btn.light.is-fav {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}
.df-rest-hero-time-badge {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 20px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #000000;
  box-shadow: none;
}
.df-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1A9E3F;
  box-shadow: 0 0 0 3px rgba(26, 158, 63, 0.22);
}

/* Transparent Store Identity Bar — Full Cover Visible, Circular Logo Perched on Edge */
.df-rest-info-card {
  position: relative;
  z-index: 12;
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 16px 12px 0 12px;
  margin: 0 0 28px 0;
  box-shadow: none;
}
.df-rest-info-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.df-rest-identity {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}
.df-rest-logo-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  margin-top: -66px;
  flex-shrink: 0;
  z-index: 15;
}
.df-rest-logo-circle {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 0;
  background: #FFFFFF;
  border: 4px solid #F5F5F5;
  outline: 1px solid #E5E7EB;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.df-rest-logo-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  background: #FFFFFF;
}
.df-rest-logo-status {
  position: absolute;
  bottom: 4px;
  inset-inline-end: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1A9E3F;
  color: #FFFFFF;
  border: 3px solid #F5F5F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: none;
}
.df-rest-title-block {
  min-width: 0;
}
.df-rest-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.df-rest-name {
  font-size: 28px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.df-rest-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(26, 158, 63, 0.12);
  color: #1A9E3F;
  font-size: 11.5px;
  font-weight: 800;
}
.df-rest-open-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1A9E3F;
}
.df-rest-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 6px;
}
.df-rest-meta-cat {
  color: #1A1A1A;
  font-weight: 800;
}
.df-rest-meta-row .sep {
  color: #CBD5E1;
}
.df-rest-meta-rating strong {
  color: #1A1A1A;
  font-weight: 900;
}
.df-rest-desc {
  font-size: 13px;
  color: #64748B;
  margin: 4px 0 0 0;
  max-width: 640px;
  line-height: 1.45;
}
.df-rest-highlights {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.df-rest-stat-box {
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #E5E7EB;
  text-align: center;
}
.df-rest-stat-box.red {
  background: rgba(255, 240, 241, 0.85);
  border-color: rgba(217, 2, 23, 0.2);
}
.df-rest-stat-box .label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8C8C8D;
  margin-bottom: 2px;
}
.df-rest-stat-box.red .label {
  color: #D90217;
}
.df-rest-stat-box .val {
  font-size: 14px;
  font-weight: 900;
}
.df-rest-stat-box .val.green {
  color: #1A9E3F;
}
.df-rest-stat-box .val.red {
  color: #D90217;
}

/* Restaurant Tabs & Inline Search */
.df-rest-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}
.df-rest-tabs-list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-rest-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: transparent;
  color: #52525B;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.df-rest-tab-btn:hover {
  color: #000000;
  background: rgba(255, 255, 255, 0.7);
}
.df-rest-tab-btn.active {
  background: #FFF0F1;
  border-color: #D90217;
  color: #D90217;
  font-weight: 900;
}
.df-rest-tab-count {
  background: #FFFFFF;
  color: #000000;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.df-rest-inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  height: 42px;
  padding: 0 16px;
  width: 310px;
  max-width: 100%;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.df-rest-inline-search:focus-within {
  background: #FFFFFF;
  border-color: #D90217;
  box-shadow: 0 0 0 3px rgba(217, 2, 23, 0.10);
}
.df-rest-inline-search i {
  color: #94A3B8;
  font-size: 13px;
}
.df-rest-inline-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  width: 100%;
  font-family: inherit;
}
.df-rest-inline-search .clear-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 2px;
}

/* Category Filter Strip on Restaurant Page */
.df-rest-cat-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 26px;
  scrollbar-width: none;
}
.df-rest-cat-strip::-webkit-scrollbar {
  display: none;
}
.df-rest-cat-pill {
  padding: 10px 22px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #1A1A1A;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.df-rest-cat-pill:hover {
  border-color: #D90217;
  color: #D90217;
}
.df-rest-cat-pill.active {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(217, 2, 23, 0.25);
}

/* Full-Width Restaurant Menu Grid & Half-and-Half Menu Item Cards (Image Left in LTR, Image Right in RTL) */
.df-rest-menu-section {
  margin-bottom: 42px;
}
.df-rest-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.df-menu-item-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 158px;
  min-height: 158px;
  transition: border-color 0.18s ease, transform 0.18s ease;
  box-shadow: none;
}
.df-menu-item-card.is-clickable {
  cursor: pointer;
}
.df-menu-item-card:hover {
  border-color: #D90217;
  box-shadow: none;
  transform: translateY(-2px);
}
.df-menu-extras-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  color: #52525B;
  font-size: 10.5px;
  font-weight: 800;
}

/* Centered Customer Menu Item Detail Modal */
.df-item-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.58);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.df-item-modal-card {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.df-item-modal-hero {
  position: relative;
  height: 224px;
  background: #F5F5F5;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid #EAEAEA;
}
.df-item-modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.df-item-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #E5E7EB;
  color: #000000;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.df-item-modal-close:hover {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}
.df-item-modal-badges {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.df-item-modal-badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #E5E7EB;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.df-item-modal-badge.is-hot {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}
.df-item-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.df-item-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.df-item-modal-title {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  margin: 0;
  line-height: 1.25;
}
.df-item-modal-base-price {
  font-size: 16px;
  font-weight: 900;
  color: #D90217;
  white-space: nowrap;
}
.df-item-modal-desc {
  font-size: 13.5px;
  color: #52525B;
  line-height: 1.55;
  margin: 0;
}
.df-item-modal-section {
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}
.df-item-modal-sec-head {
  margin-bottom: 10px;
}
.df-item-modal-sec-title {
  font-size: 13.5px;
  font-weight: 900;
  color: #000000;
}
.df-item-modal-sec-sub {
  font-size: 12px;
  color: #71717A;
  font-weight: 600;
  margin-top: 2px;
}
.df-item-modal-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.df-item-modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.df-item-modal-option:hover {
  border-color: #D90217;
}
.df-item-modal-option.is-selected {
  background: #FFF0F1;
  border-color: #D90217;
}
.df-item-modal-opt-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.df-item-modal-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.df-item-modal-checkbox.is-checked {
  background: #D90217;
  border-color: #D90217;
}
.df-item-modal-opt-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #000000;
}
.df-item-modal-opt-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #D90217;
  white-space: nowrap;
}
.df-item-modal-textarea {
  width: 100%;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  font-size: 13.5px !important;
  resize: vertical;
  min-height: 68px;
}
.df-item-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid #EAEAEA;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.df-item-modal-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F5F5F5;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 4px 8px;
  height: 46px;
}
.df-item-modal-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: #000000;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.df-item-modal-qty-btn.plus {
  background: #000000;
  color: #FFFFFF;
}
.df-item-modal-qty-val {
  font-size: 15px;
  font-weight: 900;
  min-width: 22px;
  text-align: center;
  color: #000000;
}
.df-item-modal-submit {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #D90217;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.df-item-modal-submit:hover {
  background: #AE0212;
}
.df-menu-item-thumb-wrap {
  width: 44%;
  min-width: 44%;
  max-width: 44%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #F1F5F9;
  flex-shrink: 0;
}
.df-menu-item-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.df-menu-item-card:hover .df-menu-item-img {
  transform: scale(1.06);
}
.df-menu-item-info {
  width: 56%;
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.df-menu-item-top {
  margin-bottom: 6px;
}
.df-menu-popular-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #FFF0F1;
  color: #D90217;
  font-size: 10.5px;
  font-weight: 900;
}
.df-menu-item-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0 0 4px 0;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.df-menu-item-desc {
  font-size: 12.5px;
  color: #8C8C8D;
  font-weight: 600;
  margin: 0;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.df-menu-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
}
.df-menu-item-price {
  font-size: 15.5px;
  font-weight: 900;
  color: #D90217;
  white-space: nowrap;
}

/* RTL Directional Mirroring */
[dir="rtl"] .df-view-all-link i,
[dir="rtl"] .df-view-cart-btn i,
[dir="rtl"] .df-newsletter-btn i,
[dir="rtl"] .df-rest-hero-topbar .df-rest-circle-btn.dark i {
  transform: scaleX(-1);
}
[dir="rtl"] .df-rest-hero-time-badge {
  right: auto;
  left: 28px;
}
[dir="rtl"] #godash-chat-root {
  right: auto !important;
  left: 24px !important;
}
[dir="rtl"] #customer-chat-modal {
  right: auto !important;
  left: 0 !important;
}

/* 11. Contact Us, Support Hub, FAQ & Legal CMS Pages */
.df-page-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 55%, #331018 100%);
  color: #FFFFFF;
  padding: 56px 24px 72px 24px;
  position: relative;
  overflow: hidden;
}
.df-page-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 2, 23, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.df-page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}
.df-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(217, 2, 23, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FECDD3;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.df-page-hero-title {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  line-height: 1.18;
  letter-spacing: -0.6px;
}
.df-page-hero-sub {
  font-size: 15.5px;
  color: #CBD5E1;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
.df-cms-container {
  max-width: 1180px;
  margin: -36px auto 72px auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.df-legal-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.df-legal-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
}
.df-legal-nav-pill:hover {
  border-color: #D90217;
  color: #D90217;
  transform: translateY(-2px);
}
.df-legal-nav-pill.active {
  background: linear-gradient(135deg, #D90217 0%, #AE0212 100%);
  border-color: #D90217;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(217, 2, 23, 0.28);
}
.df-highlights-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.df-highlight-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.df-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FFF0F1;
  color: #D90217;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.df-highlight-card h3 {
  font-size: 15px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0 0 4px 0;
}
.df-highlight-card p {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}
.df-legal-doc-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 28px;
  padding: 40px 44px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.df-legal-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
}
.df-legal-section {
  margin-bottom: 28px;
}
.df-legal-section:last-child {
  margin-bottom: 0;
}
.df-legal-section h2 {
  font-size: 19px;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.df-legal-section h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: #D90217;
  flex-shrink: 0;
}
.df-legal-section p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 12px 0;
}
.df-legal-section ul,
.df-legal-section ol {
  margin: 0 0 12px 0;
  padding-inline-start: 22px;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}
.df-legal-section li {
  margin-bottom: 8px;
}
.df-legal-section a {
  color: #D90217;
  font-weight: 800;
  text-decoration: underline;
}
.df-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 28px;
  align-items: start;
}
.df-contact-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.df-contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #F8FAFC;
  border: 1px solid #ECEFF2;
  margin-bottom: 12px;
  transition: all 0.18s ease;
}
.df-contact-channel-item:hover {
  border-color: #D90217;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.df-contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #FFF0F1;
  color: #D90217;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .df-highlights-grid-3,
  .df-contact-grid {
    grid-template-columns: 1fr;
  }
  .df-legal-doc-card {
    padding: 24px 20px;
  }
  .df-page-hero-title {
    font-size: 28px;
  }
}

/* Restaurant Reviews & Info Panels */
.df-rest-alert-success {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(26, 158, 63, 0.12);
  color: #1A9E3F;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.df-rest-reviews-grid,
.df-rest-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.df-rest-panel {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #EAEAEA;
  padding: 26px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}
.df-rest-panel-title {
  font-size: 18px;
  font-weight: 900;
  color: #1A1A1A;
  margin: 0 0 4px 0;
}
.df-rest-panel-sub {
  font-size: 12.5px;
  color: #8C8C8D;
  font-weight: 600;
  margin: 0 0 20px 0;
}
.df-rest-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.df-rest-field {
  margin-bottom: 14px;
}
.df-rest-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  margin-bottom: 6px;
}
.df-rest-field input,
.df-rest-field select,
.df-rest-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  font-size: 13.5px;
  font-weight: 700;
  color: #1A1A1A;
  font-family: inherit;
  outline: none;
}
.df-rest-field input:focus,
.df-rest-field select:focus,
.df-rest-field textarea:focus {
  border-color: #D90217;
  background: #FFFFFF;
}
.df-rest-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.df-rest-review-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #EAEAEA;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.df-rest-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.df-rest-review-head strong {
  font-size: 14px;
  font-weight: 900;
  color: #1A1A1A;
}
.df-rest-review-head .stars {
  color: #F59E0B;
  font-size: 13px;
}
.df-rest-review-card p {
  font-size: 13px;
  color: #475569;
  margin: 0 0 6px 0;
  line-height: 1.45;
}
.df-rest-review-card .date {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 700;
}
.df-rest-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.df-rest-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.df-rest-info-row .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFF0F1;
  color: #D90217;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.df-rest-info-row strong {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: #1A1A1A;
}
.df-rest-info-row p {
  font-size: 12.5px;
  color: #64748B;
  margin: 2px 0 0 0;
}
.df-rest-hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.df-rest-hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
}
.df-rest-hour-row strong {
  color: #1A1A1A;
  font-weight: 900;
}

/* 10. DashFresh Unified Site Footer (Identical Across Storefront, Customer & Partner Portals) */
.df-footer {
  background: #FFFFFF;
  border-top: 1px solid #EAEAEA;
  color: #1A1A1A;
  margin-top: 48px;
}
.df-footer-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 48px var(--df-page-gutter, clamp(14px, 2vw, 36px)) 32px;
}
.df-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid #F1F5F9;
}
.df-footer-tagline {
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  margin: 0 0 8px 0;
}
.df-footer-desc {
  font-size: 12.5px;
  color: #52525B;
  line-height: 1.55;
  margin: 0;
  max-width: 290px;
}
.df-footer-title {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #1A1A1A;
  margin: 0 0 16px 0;
}
.df-footer-sub {
  font-size: 12.5px;
  color: #52525B;
  margin: 0 0 12px 0;
}
.df-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.df-footer-links a {
  font-size: 13px;
  font-weight: 700;
  color: #52525B;
  text-decoration: none !important;
  transition: color 0.18s ease;
}
.df-footer-links a:hover {
  color: #D90217;
}
.df-footer-rider-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D90217 !important;
  font-weight: 900 !important;
}
.df-footer-col.newsletter-col {
  width: 100%;
  max-width: 380px;
}
.df-newsletter-form {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: 4px 5px 4px 14px;
  box-shadow: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.df-newsletter-form:focus-within {
  background: #FFFFFF;
  border-color: #D90217;
}
.df-newsletter-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  outline: none;
  font-family: inherit;
}
.df-newsletter-btn {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #D90217;
  color: #FFFFFF;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
  transition: background-color 0.18s ease;
}
.df-newsletter-btn:hover {
  background: #AE0212;
  transform: none;
}
.df-footer-pay-social {
  width: 100%;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.df-footer-pay-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #52525B;
  margin: 0;
}
.df-footer-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.df-footer-badges {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.df-pay-badge {
  height: 38px;
  padding: 0 8px;
  border-radius: 12px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.df-pay-badge.visa { color: #1A1F71; }
.df-pay-badge.mc { color: #1A1A1A; }
.df-pay-badge.apple { color: #000000; }
.df-pay-badge.cmi { background: #F5F5F5; color: #047857; }
.df-cmi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1A9E3F;
  display: inline-block;
  flex-shrink: 0;
}
.df-footer-socials {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.df-footer-socials a {
  height: 38px;
  border-radius: 12px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  color: #1A1A1A;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.df-footer-socials a:hover {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}
.df-footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #52525B;
}
.df-footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.df-footer-bottom-links a {
  color: #52525B;
  text-decoration: none !important;
}
.df-footer-bottom-links a:hover {
  color: #D90217;
}

/* Responsive Breakpoints */
@media (max-width: 1260px) {
  .df-cards-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .df-restaurants-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .df-rest-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .df-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .df-home-workspace {
    grid-template-columns: 1fr;
  }
  .df-sidebar-card {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  .df-sidebar-cat-btn {
    width: auto;
    white-space: nowrap;
  }
  .df-cards-grid-5,
  .df-restaurants-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .df-rest-reviews-grid,
  .df-rest-info-grid {
    grid-template-columns: 1fr;
  }
}
[dir="rtl"] .df-newsletter-form {
  padding: 4px 14px 4px 5px;
}
[dir="rtl"] .df-newsletter-input {
  padding: 0 0 0 8px;
}
@media (max-width: 680px) {
  .df-cards-grid-5,
  .df-restaurants-grid-4,
  .df-rest-menu-grid,
  .df-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .df-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .df-rest-hero {
    height: 205px;
    border-radius: 20px;
  }
  .df-rest-logo-wrap,
  .df-rest-logo-circle {
    width: 82px;
    height: 82px;
  }
  .df-rest-logo-wrap {
    margin-top: -48px;
  }
  .df-rest-info-card {
    margin: 0 0 22px 0;
    padding: 12px 4px 0 4px;
  }
  .df-menu-item-card {
    height: auto;
    min-height: 142px;
  }
}

/* ==================== PANEL MOBILE DRAWER & CUSTOMER RESPONSIVE GRIDS ==================== */
.panel-mobile-toggle-btn,
.panel-mobile-close-btn {
  display: none;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
}
.panel-mobile-backdrop {
  display: none;
}
.df-customer-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.df-cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .df-customer-grid,
  .df-cart-grid {
    grid-template-columns: 1fr;
  }
  .panel-mobile-toggle-btn,
  .panel-mobile-close-btn {
    display: inline-flex;
  }
  .panel-mobile-backdrop {
    display: block;
  }
  .panel-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    z-index: 999;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  [dir="rtl"] .panel-sidebar {
    left: auto;
    right: 0;
    transform: translateX(105%);
  }
  .panel-sidebar.is-open {
    transform: translateX(0);
  }
}








/* ============================================================
 * Flat Checkout Payment Method Radio-Card Selector
 * ============================================================ */
.df-pay-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.df-pay-native-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.df-pay-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1.5px solid #EAEAEA;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
  user-select: none;
}

.df-pay-option:hover {
  border-color: #D4D4D8;
  background: #FAFAFA;
}

.df-pay-option.is-selected {
  border-color: #D90217;
  background: #FFF6F7;
}

.df-pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid #EAEAEA;
}

.df-pay-icon.is-cash {
  background: #ECFDF5;
  color: #127A31;
  border-color: #BBF7D0;
}

.df-pay-icon.is-wallet {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

.df-pay-icon.is-card {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

.df-pay-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.df-pay-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.df-pay-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #000000;
  line-height: 1.25;
}

.df-pay-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.3;
}

.df-pay-balance-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.df-pay-balance-pill.is-ok {
  background: #ECFDF5;
  color: #127A31;
  border: 1px solid #BBF7D0;
}

.df-pay-balance-pill.is-low {
  background: #FEF2F2;
  color: #D90217;
  border: 1px solid #FECACA;
}

.df-pay-card-chips {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.df-pay-card-chips span {
  padding: 1px 6px;
  border-radius: 6px;
  background: #F5F5F5;
  border: 1px solid #E5E7EB;
  font-size: 9.5px;
  font-weight: 900;
  color: #374151;
  letter-spacing: 0.3px;
}

.df-pay-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #D4D4D8;
  background: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.16s ease;
}

.df-pay-radio.is-checked {
  border-color: #D90217;
}

.df-pay-radio.is-checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #D90217;
}

/* ============================================================
 * Redesigned Verified Reviews Section (Flat DashFresh UI)
 * ============================================================ */
.df-rev-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.df-rev-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.df-rev-alert.is-success {
  background: #ECFDF5;
  border: 1px solid #BBF7D0;
  color: #127A31;
}

.df-rev-alert.is-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #D90217;
}

.df-rev-layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .df-rev-layout {
    grid-template-columns: 1fr;
  }
}

.df-rev-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.df-rev-summary-card,
.df-rev-form-card,
.df-rev-gate-card,
.df-rev-empty-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: 24px;
}

.df-rev-summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.df-rev-big-score {
  font-size: 40px;
  font-weight: 900;
  color: #000000;
  line-height: 1;
  letter-spacing: -1px;
}

.df-rev-big-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  margin: 6px 0 4px 0;
}

.df-rev-total-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
}

.df-rev-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #BBF7D0;
  color: #127A31;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.df-rev-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.df-rev-bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.df-rev-bar-label i {
  color: #F59E0B;
  font-size: 10px;
}

.df-rev-bar-track {
  height: 7px;
  border-radius: 999px;
  background: #F4F4F5;
  overflow: hidden;
}

.df-rev-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #F59E0B;
}

.df-rev-bar-count {
  text-align: end;
  color: #64748B;
  font-size: 11.5px;
}

.df-rev-form-header h3 {
  font-size: 17px;
  font-weight: 900;
  color: #000000;
  margin: 0 0 4px 0;
}

.df-rev-form-header p {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 18px 0;
}

.df-rev-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.df-rev-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.df-rev-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111111;
}

.df-rev-req-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: #FFF0F1;
  border: 1px solid #FECDD3;
  color: #D90217;
  font-size: 10.5px;
  font-weight: 800;
}

.df-rev-item-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.df-rev-item-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid #EAEAEA;
  background: #F9FAFB;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.df-rev-item-option.is-selected {
  border-color: #D90217;
  background: #FFF6F7;
}

.df-rev-item-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #EAEAEA;
  background: #FFFFFF;
  flex-shrink: 0;
}

.df-rev-item-meta {
  flex: 1;
  min-width: 0;
}

.df-rev-item-name {
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.df-rev-item-order {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  margin-top: 2px;
}

.df-rev-star-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
}

.df-rev-stars-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.df-rev-star-btn {
  border: none;
  background: transparent;
  padding: 2px 3px;
  font-size: 20px;
  color: #D4D4D8;
  cursor: pointer;
  transition: transform 0.12s ease, color 0.12s ease;
}

.df-rev-star-btn:hover {
  transform: scale(1.12);
}

.df-rev-star-btn.is-active {
  color: #F59E0B;
}

.df-rev-rating-text {
  font-size: 12.5px;
  font-weight: 800;
  color: #111111;
}

.df-rev-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  background: #FAFAFA;
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #000000;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.df-rev-textarea:focus {
  border-color: #D90217;
  background: #FFFFFF;
}

.df-rev-submit-btn {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #D90217;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.df-rev-submit-btn:hover {
  background: #B80012;
}

.df-rev-gate-card {
  text-align: center;
}

.df-rev-gate-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFF0F1;
  border: 1px solid #FECDD3;
  color: #D90217;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.df-rev-gate-icon.is-done {
  background: #ECFDF5;
  border-color: #BBF7D0;
  color: #127A31;
}

.df-rev-gate-card h4 {
  font-size: 16px;
  font-weight: 900;
  color: #000000;
  margin: 0 0 6px 0;
}

.df-rev-gate-card p {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.df-rev-gate-card.is-done p {
  margin-bottom: 0;
}

.df-rev-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #D90217;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.df-rev-gate-btn.is-dark {
  background: #111111;
}

.df-rev-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.df-rev-feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.df-rev-feed-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #000000;
  margin: 0;
}

.df-rev-feed-count {
  padding: 2px 10px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  font-size: 12px;
  font-weight: 800;
  color: #111111;
}

.df-rev-empty-card {
  text-align: center;
  padding: 44px 24px;
}

.df-rev-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  color: #9CA3AF;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.df-rev-empty-card h4 {
  font-size: 16px;
  font-weight: 900;
  color: #000000;
  margin: 0 0 6px 0;
}

.df-rev-empty-card p {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

.df-rev-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.df-rev-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.df-rev-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.df-rev-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.df-rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #EAEAEA;
  background: #F5F5F5;
  flex-shrink: 0;
}

.df-rev-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.df-rev-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #000000;
}

.df-rev-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #BBF7D0;
  color: #127A31;
  font-size: 10.5px;
  font-weight: 800;
}

.df-rev-date {
  font-size: 11.5px;
  color: #71717A;
  font-weight: 600;
  margin-top: 2px;
}

.df-rev-card-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  font-size: 12px;
}

.df-rev-card-stars span {
  font-weight: 900;
  color: #000000;
  margin-inline-start: 4px;
}

.df-rev-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #EAEAEA;
  font-size: 12px;
  color: #374151;
}

.df-rev-item-tag i {
  color: #D90217;
  font-size: 11px;
}

.df-rev-comment {
  font-size: 14px;
  line-height: 1.55;
  color: #27272A;
  margin: 0;
}

/* ============================================================
 * Flat DashFresh 3-Pill Date of Birth Selector (Month / Day / Year)
 * + Shared Auth Gender Pills
 * ============================================================ */
.godash-auth-gender-btn {
  height: 42px;
  border-radius: 999px;
  border: 1px solid #E0E0E0;
  background: #F5F5F5;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: none !important;
}

.godash-auth-gender-btn:hover {
  border-color: #D4D4D8;
  background: #EFEFEF;
}

.godash-auth-gender-btn.is-active-male {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.godash-auth-gender-btn.is-active-female {
  background: #D90217;
  color: #FFFFFF;
  border-color: #D90217;
}

.df-dob-wrap {
  width: 100%;
}

.df-dob-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  gap: 8px;
  width: 100%;
}

.df-dob-col {
  position: relative;
  min-width: 0;
}

.df-dob-pill {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  color: #64748B;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: none !important;
}

.df-dob-pill.is-compact {
  height: 46px;
  padding: 0 13px;
}

.df-dob-pill.has-value {
  color: #000000;
  font-weight: 800;
}

.df-dob-pill:hover {
  border-color: #D4D4D8;
  background: #FFFFFF;
}

.df-dob-pill.is-open {
  background: #FFFFFF;
  border-color: #D90217;
  color: #000000;
}

.df-dob-pill.is-error {
  border-color: #D90217;
}

.df-dob-pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.df-dob-chevron {
  font-size: 10px;
  color: #52525B;
  flex-shrink: 0;
}

.df-dob-chevron.is-open {
  transform: rotate(180deg);
  color: #D90217;
}

.df-dob-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  min-width: 100%;
  max-height: 210px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 5px;
  z-index: 180;
  box-sizing: border-box;
  box-shadow: none !important;
}

.df-dob-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #000000;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.df-dob-option:hover:not(:disabled) {
  background: #F5F5F5;
  color: #D90217;
}

.df-dob-option.is-selected {
  background: #FFF0F1;
  color: #D90217;
  font-weight: 800;
}

.df-dob-option.is-disabled {
  color: #D4D4D8;
  opacity: 0.55;
  cursor: not-allowed;
}

.df-dob-check {
  font-size: 11px;
  color: #D90217;
  flex-shrink: 0;
}

/* ============================================================
 * Unified Flat Panel Tabs Bar (Admin, Moderator & Partner Panels)
 * ============================================================ */
.df-panel-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 22px;
}

.df-panel-tabs::-webkit-scrollbar {
  display: none;
}

.df-panel-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #52525B;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  flex-shrink: 0;
}

.df-panel-tab-btn:hover {
  background: #F5F5F5;
  color: #000000;
}

.df-panel-tab-btn.is-active {
  background: #D90217;
  border-color: #D90217;
  color: #FFFFFF;
}

.df-panel-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  color: #111111;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.df-panel-tab-btn.is-active .df-panel-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  border-color: transparent;
  color: #FFFFFF;
}

.df-panel-tab-badge.is-danger {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #D90217;
}

.df-panel-tab-btn.is-active .df-panel-tab-badge.is-danger {
  background: #FFFFFF;
  border-color: transparent;
  color: #D90217;
}
