:root {
  --primary: #c84b31;
  --primary-dark: #9e331c;
  --primary-light: #fff1ed;
  --secondary: #2d6a4f;
  --secondary-light: #e9f5ef;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1f2421;
  --text-muted: #5c6460;
  --border: #e6dfd5;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --shadow-sm: 0 2px 8px rgba(31, 36, 33, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 36, 33, 0.10);
  --shadow-lg: 0 16px 40px rgba(31, 36, 33, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* SUPER SWITCHER BAR (4 APPS + MOBILE SIMULATOR) */
.platform-switcher {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #161b22;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 2px solid var(--primary);
}

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

.switcher-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.switcher-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.app-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.app-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: #ff7b5f;
  box-shadow: 0 0 14px rgba(200, 75, 49, 0.55);
}

.app-tab-btn .live-count {
  background: #fff;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
}

.device-toggle-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 10px;
}

.device-btn {
  background: transparent;
  color: #cbd5e1;
  border: none;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.device-btn.active {
  background: #2d6a4f;
  color: #fff;
}

.app-viewport {
  max-width: 100%;
  overflow-x: clip;
}

/* CUSTOMER APP HEADER */
.customer-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px clamp(16px, 2vw, 34px);
  position: sticky;
  top: 0;
  z-index: 100;
}

body.is-mobile-device .customer-header {
  top: 0;
  padding: 10px 12px;
}

.header-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 75, 49, 0.3);
}

.logo-text h1 {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  font-size: 11.5px;
  color: var(--secondary);
  font-weight: 700;
  display: block;
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid #f5c2b8;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  white-space: nowrap;
  min-width: 0;
}

.location-pill select {
  border: none;
  background: transparent;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 12.5px;
  max-width: none;
  padding-right: 4px;
  cursor: pointer;
  outline: none;
}

.geofence-tag {
  background: var(--secondary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.customer-header .filter-pill {
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.cart-trigger-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(200, 75, 49, 0.3);
  transition: transform 0.15s;
}

.cart-trigger-btn:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
}

/* HERO SECTION */
.hero-banner {
  max-width: 1320px;
  margin: 22px auto;
  padding: 0 24px;
}

body.mobile-sim-mode .hero-banner {
  padding: 0 12px;
  margin: 12px auto;
}

.hero-card {
  background: linear-gradient(125deg, #2b1810 0%, #5c2616 55%, #8f3922 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

body.mobile-sim-mode .hero-card {
  grid-template-columns: 1fr;
  padding: 20px;
  gap: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge.green {
  background: #166534;
  border-color: #22c55e;
}

.hero-card h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

body.mobile-sim-mode .hero-card h2 {
  font-size: 22px;
}

.hero-card p {
  color: #f3e8e2;
  font-size: 15px;
  margin-bottom: 20px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.mobile-sim-mode .hero-stats-row {
  grid-template-columns: repeat(2, 1fr);
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  color: #fde047;
}

.hero-stat span {
  font-size: 11px;
  color: #e5e7eb;
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  background: #3b1d12;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.hero-live-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

/* TRUST & DELIVERY SLOT STRIP */
.slot-strip {
  max-width: 1320px;
  margin: 0 auto 20px auto;
  padding: 0 24px;
}

body.mobile-sim-mode .slot-strip {
  padding: 0 12px;
}

.slot-strip-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.slot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.slot-item .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* FILTER PILLS */
.section-container {
  max-width: 1800px;
  margin: 0 auto 36px auto;
  padding: 0 clamp(16px, 2vw, 34px);
}

body.is-mobile-device .section-container {
  padding: 0 12px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.section-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.filter-bar {
  display: flex;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

#category-bar .filter-pill {
  padding: 5px 11px;
  font-size: 12px;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 769px) {
  .filter-bar {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

.filter-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.filter-pill:hover {
  border-color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* TEYZE (HOME COOK) AVATAR CAROUSEL */
.cooks-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

body.mobile-sim-mode .cooks-strip {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cook-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cook-card:hover, .cook-card.selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cook-card.selected {
  background: var(--primary-light);
}

.cook-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cook-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  flex-shrink: 0;
  background: #fde8e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cook-avatar svg {
  width: 100%;
  height: 100%;
}

.cook-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.cook-info .origin-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fde6e1;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 2px;
}

.cook-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
}

.temp-badge {
  background: var(--secondary-light);
  color: var(--secondary);
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
}

/* DISHES GRID */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  gap: 20px;
}

body.is-mobile-device .dishes-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 640px) {
  body.is-mobile-device .dishes-grid,
  .dishes-grid {
    grid-template-columns: 1fr;
  }
}

.dish-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.dish-visual {
  height: 175px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dish-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 16px;
}

.dish-emoji-large {
  font-size: 56px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  margin-bottom: 4px;
}

.dish-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  z-index: 2;
}

.fav-heart-floating {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(230, 223, 213, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}

.fav-heart-floating:hover {
  transform: scale(1.12);
  background: #ffffff;
}

.discount-pill {
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.portion-pill {
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.portion-pill.low {
  background: #dc2626;
  animation: pulseUrgent 1.6s infinite;
}

.portion-pill.soldout {
  background: #4b5563;
}

@keyframes pulseUrgent {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.dish-body {
  padding: 15px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 11px;
}

.dish-meals-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 0;
}

.dish-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.15s;
}

.dish-title:hover {
  color: var(--primary);
}

.dish-submeal-title {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.dish-cook-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dish-cook-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dish-cook-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.dish-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

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

/* PORTION PROGRESS BAR */
.portion-meter-box {
  background: #f8f5f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
}

.portion-meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.portion-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2dcd3;
  border-radius: 99px;
  overflow: hidden;
}

.portion-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #40916c);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.portion-bar-fill.urgent {
  background: linear-gradient(90deg, #dc2626, #f97316);
}

/* PRICING & PORTION SIZE OPTIONS */
.price-compare-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 6px;
}

.rest-price {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}

.our-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

.pack-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.add-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
}

.add-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.add-btn.secondary-pack {
  background: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid #b7e4c7;
}

.add-btn.secondary-pack:hover:not(:disabled) {
  background: var(--secondary);
  color: #fff;
}

.add-btn:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

/* SLIDE-OVER CART DRAWER & LIVE ORDER TRACKER */
.cart-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: none;
  justify-content: flex-end;
}

.cart-modal-backdrop.open {
  display: flex;
}

.cart-drawer {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
}

.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-light);
}

.free-delivery-progress {
  background: var(--accent-light);
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #92400e;
  border-bottom: 1px solid #fde68a;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fcfaf7;
}

.cart-footer {
  padding: 18px 20px;
  border-top: 2px solid var(--border);
  background: #faf7f2;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.summary-line.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}

/* PRODUCER (EV HANIMI), COURIER, AND ADMIN PANELS */
.role-panel-container {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px 48px 24px;
}

body.is-mobile-device .role-panel-container {
  padding: 0 12px 36px 12px;
}

.panel-banner {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

body.is-mobile-device .dashboard-grid-2,
body.is-mobile-device .dashboard-grid-3 {
  grid-template-columns: 1fr;
}

.card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card-box h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8f5f0;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}

.status-pill {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
}

.status-pill.pending { background: #fef3c7; color: #b45309; }
.status-pill.ready { background: #dcfce7; color: #15803d; }
.status-pill.courier { background: #dbeafe; color: #1d4ed8; }
.status-pill.delivered { background: #e5e7eb; color: #374151; }

.action-btn-large {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.15s;
}

.action-btn-large.green {
  background: var(--secondary);
  color: #fff;
}

.action-btn-large.orange {
  background: var(--primary);
  color: #fff;
}

.action-btn-large.blue {
  background: #2563eb;
  color: #fff;
}

.kpi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.kpi-table th, .kpi-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.kpi-table th {
  background: #f3efe8;
  font-weight: 800;
}

/* ACTIVE ORDER TRACKER BAR ON CUSTOMER VIEW */
.live-order-bar {
  max-width: 1320px;
  margin: 16px auto;
  padding: 0 24px;
}

.live-order-card {
  background: #ecfdf5;
  border: 2px solid #10b981;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.stepper-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.step-badge {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  background: #d1fae5;
  color: #065f46;
}

.step-badge.active {
  background: #059669;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .dashboard-grid-2, .dashboard-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   V6 YENİ TASARIM: SLOGAN, ŞEKİLLİ 4 ADIM SÜREÇ, GERÇEK FOTOĞRAF & SOLUK KART
   ========================================================================== */

.slogan-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #fde047, #facc15);
  color: #3b180c;
  font-size: 13.5px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.32);
  letter-spacing: -0.2px;
}

.header-slogan-tag {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 800;
  font-style: italic;
  display: block;
  margin-top: 1px;
}

/* ŞEKİLLİ 4 ADIMLI SÜREÇ ANLATIMI */
.process-flow-section {
  max-width: 1800px;
  margin: 0 auto 24px auto;
  padding: 0 clamp(16px, 2vw, 34px);
}

body.is-mobile-device .process-flow-section {
  padding: 0 12px;
  margin-bottom: 18px;
}

.process-flow-box {
  background: linear-gradient(180deg, #ffffff 0%, #fcf8f2 100%);
  border: 2px solid #eadfce;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
}

body.is-mobile-device .process-flow-box {
  padding: 18px 14px;
}

.process-flow-header {
  text-align: center;
  margin-bottom: 22px;
}

.process-flow-header .eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #f5c2b8;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-flow-header h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
}

.process-flow-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

body.is-mobile-device .process-steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 350px) {
  .process-steps-grid,
  body.is-mobile-device .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: #ffffff;
  border: 1.5px solid #e6dfd5;
  border-radius: 18px;
  padding: 0 0 16px 0;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 22px rgba(31, 36, 33, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.process-photo-wrap {
  position: relative;
  width: 100%;
  height: 152px;
  border-radius: 16.5px 16.5px 0 0;
  overflow: hidden;
  background: #2b1810;
}

.process-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.process-step-card:hover .process-photo-wrap img {
  transform: scale(1.04);
}

.process-step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(200, 75, 49, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.process-step-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #fde047;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
}

.process-step-body {
  padding: 13px 15px 0 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.process-step-arrow {
  position: absolute;
  right: -16px;
  top: 76px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #c84b31;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 75, 49, 0.35);
  z-index: 4;
}

body.is-mobile-device .process-step-arrow {
  display: none;
}

@media (max-width: 980px) {
  .process-step-arrow {
    display: none;
  }
}

.process-step-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.process-step-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* GERÇEKÇİ YEMEK FOTOĞRAFLARI & EV HANIMI KARTI */
.dish-visual {
  height: 210px;
  background: #2b1810;
}

.dish-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.dish-card:hover .dish-real-photo {
  transform: scale(1.04);
}

.dish-photo-gradient-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px 12px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.35) 65%, transparent 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  z-index: 2;
}

.housewife-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fcf9f5;
  border: 1px solid #ece4d8;
  border-radius: 12px;
  padding: 8px 10px;
}

.housewife-avatar-md {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
  background: #fde8e1;
}

.housewife-avatar-md svg {
  width: 100%;
  height: 100%;
}

.fav-heart-btn {
  background: #fff;
  border: 1px solid #e6dfd5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s;
}

.fav-heart-btn:hover {
  transform: scale(1.12);
}

/* YEMEĞİ BİTEN HANIMEFENDİ KARTI: BİRAZ SOLUK (İNSANLAR NE KAÇIRDIĞINI BİLSİN) */
.dish-card.sold-out-card {
  opacity: 0.56;
  filter: saturate(0.50);
  background: #f5f2ec;
  border-color: #d6cfc4;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.2s ease;
}

.dish-card.sold-out-card:hover {
  opacity: 0.80;
  filter: saturate(0.75);
}

.sold-out-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(31, 36, 33, 0.82);
  color: #fff;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* İLERİ TARİHLİ ÖN SİPARİŞ TARİH SEÇİCİ ŞERİDİ */
.preorder-date-bar {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preorder-days-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.preorder-day-pill {
  background: #ffffff;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}

.preorder-day-pill.active {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 3px 10px rgba(21, 128, 61, 0.28);
}

/* ÇOKLU YEMEK, PORSİYON (0,5 / 1 / 1,5 / 2) VE YEMEK ÇEŞİTLERİ STİLLERİ */
.cook-multidish-banner {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cook-multidish-pill {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 99px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}

.cook-multidish-pill:hover {
  background: #c84b31;
  color: #fff;
  border-color: #c84b31;
}

.cook-other-dishes-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  background: #fcfaf7;
  border: 1px dashed #e6dfd5;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
}

.dish-varieties-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.variety-chip-btn {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}

.variety-chip-btn:hover {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}

.pack-options.four-portions {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.add-btn.portion-btn-compact {
  padding: 8px 8px;
  font-size: 11.5px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-btn.half-pack {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.add-btn.half-pack:hover:not(:disabled) {
  background: #c84b31;
  color: #fff;
}

.add-btn.mid-pack {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.add-btn.mid-pack:hover:not(:disabled) {
  background: #2563eb;
  color: #fff;
}

.modal-cook-dish-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.modal-cook-dish-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1.5px solid #fdba74;
  background: #fff;
  color: #9a3412;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

.modal-cook-dish-btn.active {
  background: #c84b31;
  color: #fff;
  border-color: #c84b31;
}

.modal-variety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

@media (max-width: 540px) {
  .modal-variety-grid {
    grid-template-columns: 1fr;
  }
}

/* OTOMATİK MOBİL & DAR EKRAN RESPONSİF YERLEŞİMİ */
@media (max-width: 768px) {
  .customer-header {
    padding: 10px 12px;
  }
  .header-inner {
    gap: 8px;
  }
  .location-pill {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    white-space: normal;
  }
  .location-pill select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .header-actions .filter-pill,
  .header-actions .cart-trigger-btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
  .section-container,
  .process-flow-section,
  .role-panel-container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .process-flow-box {
    padding: 14px 10px;
  }
  .process-flow-header {
    margin-bottom: 12px;
  }
  .process-flow-header h3 {
    font-size: 17px;
  }
  .process-photo-wrap {
    height: 92px;
  }
  .process-photo-wrap img {
    height: 92px !important;
  }
  .process-step-card {
    padding-bottom: 10px;
    border-radius: 14px;
  }
  .process-step-body {
    padding: 8px 10px 0 10px;
    gap: 3px;
  }
  .process-step-card h4 {
    font-size: 12.5px;
    line-height: 1.25;
  }
  .process-step-card p {
    font-size: 11px;
    line-height: 1.35;
  }
  .process-step-tag {
    display: none;
  }
  .dashboard-grid-2,
  .dashboard-grid-3 {
    grid-template-columns: 1fr;
  }
  .process-step-arrow {
    display: none;
  }
  .site-corporate-footer {
    padding: 18px 14px 28px 14px;
    margin-bottom: 8px;
  }
}

/* KURUMSAL SAHİPLİK VE TELİF ALT BİLGİSİ (FOOTER) */
.site-corporate-footer {
  background: #ffffff;
  border-top: 2px solid var(--border);
  padding: 20px 24px;
  margin-top: 24px;
  text-align: center;
}

.site-corporate-footer-inner {
  max-width: 1800px;
  margin: 0 auto;
}
