.scrolling-wrapper {
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
}
.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.qty-input {
  width: 50px;
  text-align: center;
}

.delete-btn {
  background-color: #dc2626;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
}

.category-btn img {
  transition: border-color 0.3s ease;
}
.category-btn.active img {
  border-color: #22c55e;
}

#toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

#itemsList {
  max-height: 160px;
  overflow-y: auto;
}
#itemsList li {
  font-size: 12px;
  padding: 4px 0;
}
#itemsList img {
  width: 30px;
  height: 30px;
}

#scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.mobile-header-slider {
  position: relative;
}
.mobile-header-slider iframe {
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
}

#categoryButtons > div {
  flex-wrap: nowrap !important;
}
.category-item {
  flex-shrink: 0 !important;
}

@media (max-width: 639px) {
  .category-item {
    width: 33.33% !important;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .category-item {
    width: 20% !important;
  }
}
@media (min-width: 1024px) {
  .category-item {
    width: 14.28% !important;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}
.icon-wrapper {
  width: 42px;
  height: 42px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.nav-label {
  font-size: 11px;
  margin-top: 4px;
  color: #666;
  transition: color 0.3s ease;
}
.nav-item.active .icon-wrapper {
  background-color: #dc2626;
  color: white;
  box-shadow: 0 0 0 4px white, 0 0 0 6px #dc2626;
  transform: translateY(-10px);
}
.nav-item.active .nav-label {
  color: #dc2626;
}
.nav-item i {
  font-size: 18px;
}

.order-card {
  width: calc(100% - 30px); 
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
  font-family: sans-serif;
  direction: rtl;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin: 0 15px 20px 15px; 
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.order-address {
  display: inline-flex;
  align-items: center;
  margin: 5px 0 0;
  font-size: 14px;
  color: #555;
  gap: 6px;
}

.location-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}


.order-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

.status-تم-الإلغاء { background-color: #ff0000; }
.status-تم-الطلب { background-color: #6B7280; }
.status-يتم-التحضير { background-color: #F59E0B; }
.status-الطلب-مع-المندوب { background-color: #3B82F6; }
.status-تم-جاهز-للاستلام { background-color: #3B82F6; }
.status-تم-الاستلام { background-color: #10B981; }

.status-cancelled { background-color: #ff0000; }
.status-ordered { background-color: #6B7280; }
.status-preparing { background-color: #F59E0B; }
.status-withCourier{ background-color: #3B82F6; }
.status-ready-for-pickup { background-color: #3B82F6; }
.status-received { background-color: #10B981; }

.status-storniert { background-color: #ff0000; }
.status-bestellt { background-color: #6B7280; }
.status-in-vorbereitung { background-color: #F59E0B; }
.status-mit-fahrer { background-color: #3B82F6; }
.status-bereit-zur-abholung { background-color: #3B82F6; }
.status-erhalten { background-color: #10B981; }

.status-cancelado { background-color: #ff0000; }
.status-pedido { background-color: #6B7280; }
.status-preparando { background-color: #F59E0B; }
.status-con-repartidor { background-color: #3B82F6; }
.status-listo-para-recoger { background-color: #3B82F6; }
.status-recibido { background-color: #10B981; }

.status-لغو-شده { background-color: #ff0000; }
.status-سفارش-شده { background-color: #6B7280; }
.status-در-حال-آماده-سازی { background-color: #F59E0B; }
.status-با-پیک { background-color: #3B82F6; }
.status-آماده-برای-تحویل { background-color: #3B82F6; }
.status-دریافت-شده { background-color: #10B981; }

.status-annulé { background-color: #ff0000; }
.status-commandé { background-color: #6B7280; }
.status-en-preparation { background-color: #F59E0B; }
.status-avec-livreur { background-color: #3B82F6; }
.status-pret-a-etre-recupere { background-color: #3B82F6; }
.status-recu { background-color: #10B981; }

.status-هەڵوەشاوە { background-color: #ff0000; }
.status-داواکراو { background-color: #6B7280; }
.status-ئامادەکردن { background-color: #F59E0B; }
.status-لەگەڵ-شوفر { background-color: #3B82F6; }
.status-ئامادە-بۆ-وەرگرتن { background-color: #3B82F6; }
.status-وەرگیراو { background-color: #10B981; }

.status-geannuleerd { background-color: #ff0000; }
.status-besteld { background-color: #6B7280; }
.status-wordt-voorbereid { background-color: #F59E0B; }
.status-met-bezorger { background-color: #3B82F6; }
.status-klaar-om-op-te-halen { background-color: #3B82F6; }
.status-ontvangen { background-color: #10B981; }

.status-отменен { background-color: #ff0000; }
.status-заказан { background-color: #6B7280; }
.status-готовится { background-color: #F59E0B; }
.status-с-курьером { background-color: #3B82F6; }
.status-готов-к-выдаче { background-color: #3B82F6; }
.status-получен { background-color: #10B981; }

.status-iptal-edildi { background-color: #ff0000; }
.status-siparis-verildi { background-color: #6B7280; }
.status-hazirlaniyor { background-color: #F59E0B; }
.status-kurye-ile { background-color: #3B82F6; }
.status-teslime-hazir { background-color: #3B82F6; }
.status-teslim-alindi { background-color: #10B981; }

.status-منسوخ { background-color: #ff0000; }
.status-آرڈر-کیا-گیا { background-color: #6B7280; }
.status-تیاری-میں { background-color: #F59E0B; }
.status-سوار-کے-ساتھ { background-color: #3B82F6; }
.status-وصولی-کے-لیے-تیار { background-color: #3B82F6; }
.status-وصول-کیا-گیا { background-color: #10B981; }

.status-已取消 { background-color: #ff0000; }
.status-已下单 { background-color: #6B7280; }
.status-准备中 { background-color: #F59E0B; }
.status-配送中 { background-color: #3B82F6; }
.status-可取货 { background-color: #3B82F6; }
.status-已收到 { background-color: #10B981; }


.order-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-items li {
  font-size: 14px;
  margin-bottom: 4px;
}

.more-items {
  font-size: 13px;
  color: #2563EB;
  margin-top: 5px;
}

.order-total {
  font-size: 15px;
  font-weight: bold;
  color: #059669;
  text-align: left;
}

.order-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.order-actions button {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.track-btn { background-color: #dc2626; color: white; }
.repeat-btn { background-color: #266FDC; color: white; }
.rate-btn { background-color: #FFBF00; color: white; }

.rated {
  background-color: #F3F4F6;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.order-card p,
.order-card li,
.order-card .order-total,
.order-card .more-items {
  line-height: 1.8;
}

.order-details-box {
  background: #fff;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 0 10px #ccc;
  margin-bottom: 20px;
}

.total-box {
  background-color: #d4f8d4;
  color: #006400;
  padding: 10px;
  margin-top: 15px;
  border-radius: 6px;
  font-size: 18px;
}

.rating-popup {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, 0);
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.2);
  z-index: 9999;
  width: 90%;
  max-width: 420px;
  font-family: "Segoe UI", sans-serif;
}

.rating-content {
  position: relative;
  text-align: center;
}

.rating-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 22px;
  color: #333;
}

.rating-content label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  text-align: right;
  color: #444;
}

.rating-content select,
.rating-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-bottom: 15px;
}

.rating-content textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #218838;
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #eee;
  color: #333;
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.rating-message {
  margin: 10px 0 15px;
  font-size: 15px;
  font-weight: 500;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f3f4f6;
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.order-header button {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 16px;
  cursor: pointer;
}
.order-header button:hover {
  text-decoration: underline;
}

.status-grid {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  overflow-x: auto;
}
.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.status-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.status-active {
  background-color: #22c55e;
  color: white;
}
.status-inactive {
  background-color: #e5e7eb;
  color: #6b7280;
}
.status-label {
  margin-top: 6px;
  font-size: 13px;
}

.status-line {
  min-width: 15px;
  height: 2px;
  background-color: #d1d5db;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-top: 20px;
  overflow: hidden;
}
.mcard-header {
  background-color: #f3f4f6;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}
.card-row {
  padding: 10px 16px;
}
.card-row:nth-child(even) {
  background-color: #f9fafb;
}
.card-row:nth-child(odd) {
  background-color: #e5e7eb;
}

.product-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
}
.product-row:nth-child(even) {
  background-color: #f9fafb;
}
.product-row:nth-child(odd) {
  background-color: #e5e7eb;
}

.total-card {
  background-color: #d1fae5;
  border-radius: 8px;
  margin-top: 20px;
}
.total-card .card-header {
  background-color: #bbf7d0;
  color: #065f46;
}
.total-card .card-row {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #065f46;
}

.card {
  border-radius: 8px;
  margin: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}


.card-header {
  padding: 10px 15px;
  font-weight: bold;
  color: #fff;
}

.card-body {
  padding: 15px;
  background-color: #f2f2f2;
  color: #333;
}

.card-order .card-header {
  background-color: #444;
}

.card-admin .card-header {
  background: linear-gradient(90deg, #d4af37, #f5e28c); 
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.card-admin .card-body {
  background-color: #f2f2f2; 
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.card-unread .card-header {
  background-color: #8b0000; 
  color: #fff;
}

.card-unread .card-body {
  background-color: #ffe5e5; 
  color: #333;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.shake {
  animation: shake 0.5s ease-in-out infinite;
}


  #notifCount {
    transition: none !important; 
  }

.hidden {
  display: none !important;
}

.phone-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 300px;
}

.popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.popup-number {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.popup-confirm {
  background-color: #22c55e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.popup-confirm:hover {
  background-color: #16a34a;
}

.product-card {
  touch-action: manipulation;
}


.discount-flash {
  animation: flash-bg 1.5s infinite;
}

@keyframes flash-bg {
  0% { background-color: #d1fae5; }
  50% { background-color: #bbf7d0; }
  100% { background-color: #d1fae5; }
}

  .swiper-slide {
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: scale(0.95);
  }

  .swiper-slide-active .banner-img {
    opacity: 1;
    transform: scale(1);
  }

.swiper-pagination {
  position: absolute !important;
  bottom: 30px !important; 
  left: 0 !important;
  right: 0 !important;
  z-index: 20 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}


.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background-color: #ccc !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
  width: 30px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background-color: #dc2626 !important;
}


@keyframes fadeText {
  0% { opacity: 0; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.fade {
  animation: fadeText 0.6s ease-in-out;
}


.status-circle.status-active { background: #16a34a; color:#fff; }
.status-circle.status-inactive { background: #e5e7eb; color:#333; }
.status-label.active { color:#16a34a; font-weight:700; }


.map-wrapper {
    transition: all 0.3s ease-in-out;
}

.locate-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.locate-btn:hover {
    background-color: #f8fafc !important;
    transform: scale(1.05);
}

.locate-btn:active {
    transform: scale(0.95);
}

.leaflet-marker-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}

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

.product-modal-card {
    background: #ffffff;
    width: 100%; max-width: 420px;
    border-radius: 32px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-modal-overlay.active .product-modal-card { transform: translateY(0); }

.modal-img-container { position: relative; width: 100%; height: 240px; }
.modal-img { width: 100%; height: 100%; object-fit: cover; }

.modal-close-btn {
    position: absolute; top: 15px; right: 15px;
    width: 36px; height: 36px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.1); color: #000; font-weight: bold;
}

.modal-body { padding: 24px; max-height: 50vh; overflow-y: auto; }

.modal-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.modal-price-badge {
    background: #000; color: #fff;
    padding: 6px 16px; border-radius: 100px;
    font-weight: 800; font-size: 1.1rem;
}
.modal-old-price {
    text-decoration: line-through; color: #9ca3af; font-size: 1rem;
}

.modal-title { font-size: 1.6rem; font-weight: 800; color: #111; margin-bottom: 8px; }
.modal-desc { color: #6b7280; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }

.modal-options-wrapper { border-top: 1px solid #f3f4f6; padding-top: 15px; margin-top: 10px; }
.modal-opt-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #f9fafb; cursor: pointer;
}
.opt-label-side { display: flex; align-items: center; gap: 10px; }
.opt-check-input { width: 20px; height: 20px; accent-color: #000; }
.opt-price-tag { font-weight: 600; color: #4b5563; font-size: 0.9rem; }

.modal-footer { padding: 0 24px 24px; }
.btn-add-ux {
    width: 100%; height: 56px; background: #000; color: #fff;
    border-radius: 20px; font-weight: 700; font-size: 1.1rem;
    border: none; cursor: pointer; transition: 0.2s;
}
.btn-add-ux:active { transform: scale(0.97); }

.qty-control-ux {
    display: flex; align-items: center; justify-content: space-between;
    background: #f3f4f6; border-radius: 20px; padding: 6px;
}
.q-btn {
    width: 48px; height: 48px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; cursor: pointer; transition: 0.2s;
}
.q-minus { background: #fff; color: #ef4444; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.q-plus { background: #000; color: #fff; }
.q-val { font-size: 1.4rem; font-weight: 800; }

#wheelContainer::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(234, 179, 8, 0.4), transparent);
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.close-games-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
}

.close-games-btn svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.close-games-btn:hover {
    background: var(--neon-pink, #ff007b);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 123, 0.6);
    transform: rotate(90deg) scale(1.1);
}

.close-games-btn:active {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .close-games-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.leaflet-container,
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
    z-index: 1 !important;
}

.swiper, 
.mobile-header-slider {
    z-index: 1 !important;
    position: relative;
}

#wheelOverlay,
#gamesOverlay,
.product-modal-overlay,
.loader-overlay {
    z-index: 2147483647 !important;
}


.profile-header-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border: 1px solid rgba(0,0,0,0.05);
}

.profile-cover {
  height: 160px;
  background-image: url('admin/assets/profile_cover.jpg'), linear-gradient(135deg, #FF4B2B, #FF416C); 
  background-size: cover;
  background-position: center;
  position: relative;
}
.profile-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

.profile-avatar-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: -65px auto 15px; 
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #f3f4f6;
}

.camera-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #2563eb;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.profile-avatar-wrapper:hover .camera-badge {
  transform: scale(1.1);
}

.avatar-loader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(3px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.avatar-loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner-border {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.user-name-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 4px;
}
.user-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4f6;
  padding: 6px 16px;
  border-radius: 99px;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
}

.upsell-category-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #374151;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 10px 0;
}
.upsell-category-separator::before,
.upsell-category-separator::after {
    content: '';
    flex: 1;
    border-bottom: 2px dashed #d1d5db; 
}
.upsell-category-separator:not(:empty)::before {
    margin-left: 10px;
}
.upsell-category-separator:not(:empty)::after {
    margin-right: 10px;
}
#upsellPopup {
    z-index: 2147483647 !important;
}
#upsellContent {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}