/* Starbucks Digital Menu & Admin Panel Stylesheet - Light Cafe Palette */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
  /* 5-Color User Palette: #faf0e6, #fff0db, #eed9c4, #e4d5b7, #d9b99b */
  --pal-cream-light: #faf0e6;   /* Swatch 1: Linen / Warm Alabaster Cream */
  --pal-ivory: #fff0db;         /* Swatch 2: Warm Ivory Milk Cream */
  --pal-sand: #eed9c4;          /* Swatch 3: Pale Sand Latte */
  --pal-oat: #e4d5b7;           /* Swatch 4: Warm Oat Khaki */
  --pal-crema: #d9b99b;         /* Swatch 5: Warm Hazelnut Crema / Tan */

  /* Semantic Theme Variables */
  --primary: #b87d54;           /* Warm Rich Caramel Mocha */
  --primary-light: #c98e65;
  --primary-dark: #9e643d;
  --accent-gold: #b87d54;       /* Warm Accent / Prices */
  --accent-warm: #d9b99b;       /* Swatch 5 */
  --bg-sand: #eed9c4;           /* Swatch 3 */
  --bg-cream: #faf0e6;          /* Swatch 1 */
  --bg-ivory: #fff0db;          /* Swatch 2 */
  --bg-oat: #e4d5b7;            /* Swatch 4 */
  --bg-dark: #faf0e6;           /* Body Background: Warm light linen cream */
  --bg-container: #fffcf8;      /* Mobile App Container: Soft warm off-white */
  --bg-card: #ffffff;           /* Card Surface: Crisp clean white */
  --bg-card-hover: #fff6ed;     /* Card Hover: Gentle warm ivory tint */
  --bg-glass: rgba(255, 248, 240, 0.94); /* Glass Header / Bottom Nav */
  --border-color: #eed9c4;      /* Swatch 3 Sand Border */
  --border-light: #f5ebe0;      /* Subtle border */
  --text-main: #2b1d15;         /* Deep Roasted Espresso Brown */
  --text-muted: #6e5545;        /* Warm Cafe Brown */
  --text-dim: #947a67;          /* Soft Tan Dim */
  --danger: #dc2626;
  --success: #2e7d32;
  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #d9b99b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Container */
.app-container {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-container);
  box-shadow: 0 4px 30px rgba(160, 130, 100, 0.18);
  position: relative;
  padding-bottom: 70px;
}

/* Header */
.top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  background: var(--pal-ivory);
}

.brand-info h1 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-info span {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Slider / Banners */
.slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 220px;
  background-color: var(--pal-ivory);
}

.slider-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
}

.slide-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 252, 248, 1), transparent);
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(184, 125, 84, 0.35);
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background: var(--primary);
  width: 18px;
  border-radius: 10px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 29, 21, 0.55);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.modal-backdrop.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(70, 45, 30, 0.18);
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* Search Modal */
.search-modal-header {
  padding: 16px;
  border-bottom: 1.5px solid var(--border-color);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 12px;
  gap: 8px;
}

.search-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
}

.search-results-list {
  padding: 14px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Footer Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border-top: 1.5px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 45;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 8px;
}

.nav-item.active, .nav-item:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-light);
}

.btn-secondary {
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: var(--pal-sand);
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}
.btn-danger:hover {
  background: #ef4444;
}

/* Floating Pager Button */
.floating-pager-btn {
  position: fixed;
  bottom: 75px;
  left: 16px;
  z-index: 44;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: 1.5px solid var(--pal-oat);
  border-radius: 30px;
  padding: 10px 18px;
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(184, 125, 84, 0.4);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.25s ease;
}

.floating-pager-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(184, 125, 84, 0.6);
}

.floating-pager-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.floating-pager-btn i {
  font-size: 1.15rem;
  color: #fff;
  animation: bellRing 3s infinite ease-in-out;
}

@keyframes bellRing {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-15deg); }
  92% { transform: rotate(15deg); }
  94% { transform: rotate(-10deg); }
  96% { transform: rotate(10deg); }
}

.table-header-badge {
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pager-alert-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  margin-right: 6px;
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #ffffff;
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(70, 45, 30, 0.15);
  border: 1.5px solid var(--border-color);
  border-right: 5px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: slideIn 0.3s ease;
}

.toast.success { border-right-color: var(--success); }
.toast.error { border-right-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}


/* ==========================================================
   STARBUCKS SLIDABLE 3D MENU CAROUSEL (Light Cafe Palette)
   User Palette: #faf0e6, #fff0db, #eed9c4, #e4d5b7, #d9b99b
   ========================================================== */

.starbucks-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0 30px;
  perspective: 1000px;
  touch-action: pan-y;
  user-select: none;
}

.swiper-track {
  position: relative;
  width: 100%;
  height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.starbucks-slide {
  position: absolute;
  width: 82%;
  max-width: 360px;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  will-change: transform, opacity;
}

/* Slide 3D Positions */
.starbucks-slide.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.starbucks-slide.prev {
  transform: translateX(82%) scale(0.78);
  opacity: 0.45;
  filter: blur(0.4px);
  z-index: 5;
  pointer-events: auto;
}

.starbucks-slide.next {
  transform: translateX(-82%) scale(0.78);
  opacity: 0.45;
  filter: blur(0.4px);
  z-index: 5;
  pointer-events: auto;
}

.starbucks-slide.hidden-left {
  transform: translateX(160%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.starbucks-slide.hidden-right {
  transform: translateX(-160%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Floating Cup Media Container */
.slide-cup-container {
  position: relative;
  width: 230px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -32px;
  z-index: 12;
}

.slide-cup-media {
  max-width: 220px;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(180, 140, 110, 0.25));
  transition: transform 0.4s ease;
}

.starbucks-slide.active:hover .slide-cup-media {
  transform: translateY(-4px) scale(1.02);
}

.slide-cup-video {
  max-width: 220px;
  max-height: 240px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(180, 140, 110, 0.30);
}

.cup-ambient-shadow {
  position: absolute;
  bottom: 10px;
  width: 140px;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(180, 140, 110, 0.35) 0%, rgba(180, 140, 110, 0) 75%);
  border-radius: 50%;
  z-index: -1;
}

/* Bottom Information Card */
.slide-info-card {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 26px;
  padding: 42px 22px 22px;
  box-shadow: 0 16px 40px rgba(180, 140, 110, 0.12), 0 4px 12px rgba(180, 140, 110, 0.05);
  text-align: center;
  position: relative;
  z-index: 10;
  color: var(--text-main);
}

.slide-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slide-card-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  font-family: inherit;
}

.slide-card-badge {
  background: var(--pal-ivory);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
}

.slide-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
  line-height: 1.4;
}

.slide-card-en {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 10px;
  direction: ltr;
}

.slide-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Action: Get It / Add to Cart */
.slide-action-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: 1px solid var(--primary);
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(184, 125, 84, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slide-action-btn:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 125, 84, 0.38);
}

.slide-stepper-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 6px 14px;
}

.slide-stepper-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slide-stepper-btn:hover {
  background: var(--primary-light);
  transform: scale(1.08);
}

.slide-stepper-qty {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Nav Controls */
.slider-nav-arrows {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-top: 10px;
}

.nav-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 140, 110, 0.08);
  transition: all 0.2s ease;
}

.nav-arrow-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.06);
}

.slider-pagination-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--primary);
}


/* ==========================================================
   ADMIN PANEL STYLES (Light Cafe Palette)
   ========================================================== */
.admin-body {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.admin-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
}

.admin-navbar {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(180, 150, 120, 0.08);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand h2 {
  color: var(--text-main) !important;
  font-weight: 800;
}

.admin-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 12px;
}

.tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--pal-ivory);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 125, 84, 0.35);
}

/* Admin Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(180, 150, 120, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pal-ivory);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Filter & Action Toolbar */
.toolbar-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 3px 12px rgba(180, 150, 120, 0.06);
}

.toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 1;
}

.admin-input, .admin-select, .admin-textarea {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.admin-input:focus, .admin-select:focus, .admin-textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
}

/* Admin Items Table / Cards */
.admin-table-container {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(180, 150, 120, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--pal-ivory);
  padding: 12px 16px;
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-main);
  font-weight: 700;
  border-bottom: 1.5px solid var(--border-color);
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  vertical-align: middle;
  color: var(--text-main);
}

.admin-table tr:hover td {
  background: var(--pal-ivory);
}

.item-thumb-edit {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--pal-ivory);
  border: 1px solid var(--border-color);
}

/* Inline Price Editor */
.inline-price-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pal-ivory);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 4px 8px;
}

.inline-price-input {
  background: transparent;
  border: none;
  color: var(--primary);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  width: 90px;
  text-align: center;
  outline: none;
  direction: ltr;
}

.inline-price-save-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.inline-price-save-btn:hover {
  background: var(--primary-light);
}

/* Switch toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d1c0b0;
  transition: 0.3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--success);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Upload dropzone */
.dropzone {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: var(--pal-ivory);
  cursor: pointer;
  transition: all 0.2s;
}

.dropzone:hover {
  border-color: var(--primary);
  background: #ffffff;
}

.dropzone img {
  max-height: 120px;
  border-radius: 8px;
  margin-top: 10px;
}

.active-call-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-right: 5px solid #dc2626;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: cardFadeIn 0.3s ease;
  box-shadow: 0 3px 10px rgba(180, 150, 120, 0.08);
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cart Stepper & Item Row */
.cart-stepper-compact {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(180, 150, 120, 0.1);
}

.stepper-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.15s ease;
}

.stepper-btn:hover {
  background: var(--pal-ivory);
  color: var(--primary);
}

.stepper-btn.plus:hover {
  background: var(--primary);
  color: #fff;
}

.stepper-btn.minus:hover {
  background: #dc2626;
  color: #fff;
}

.stepper-qty {
  min-width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  padding: 0 4px;
  user-select: none;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(180, 150, 120, 0.06);
}

.cart-item-img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 8px;
  object-fit: cover;
  background: var(--pal-ivory);
  border: 1px solid var(--border-color);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-subtotal {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #dc2626;
}
