    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Vazirmatn', sans-serif;
    }

    body {
      background: linear-gradient(to top left, #f3f4f6, #ffffff);
      padding: 24px;
      color: #37474f;
    }
    
    

    .container {
      max-width: 440px;
      margin: auto;
      background: white;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.05);
      padding: 20px;
      position: relative;
	  height: 100vh !important;
    }

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

    .user-name {
      font-size: 15px;
      font-weight: bold;
      color: #2e7d32;
    }

    .status-badge {
      background: #ffcdd2;
      color: #c62828;
      padding: 5px 12px;
      font-size: 13px;
      border-radius: 20px;
    }

    .amount-box {
      background: #e8f5e9;
      color: #2e7d32;
      font-weight: bold;
      font-size: 18px;
      text-align: center;
      border-radius: 10px;
      padding: 14px;
      margin-bottom: 24px;
      box-shadow: inset 0 0 3px #c8e6c9;
    }

    .new-timer {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      margin-bottom: 24px;
    }

    .time-chip {
      background: #e3f2fd;
      color: #1565c0;
      border-radius: 12px;
      padding: 8px 10px;
      text-align: center;
      min-width: 52px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }

    .time-chip span {
      font-size: 18px;
      font-weight: bold;
      display: block;
      line-height: 1.2;
      animation: flip 0.4s ease-in-out;
    }

    .time-chip small {
      font-size: 11px;
      color: #607d8b;
      margin-top: 2px;
      display: block;
    }

    .separator {
      font-size: 18px;
      font-weight: bold;
      color: #455a64;
    }

    @keyframes flip {
      0% {
        opacity: 0;
        transform: translateY(10px);
      }
      100% {
        opacity: 1;
        transform: translateY(0px);
      }
    }
    .card-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
      align-items: stretch;
    }

.card {
    width: 100%;
    background: #f9fafc;
    border: 1px solid #e0e0e0;
    padding: 14px;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
    height: 80px;
}

    .card.full {
      width: 100%;
    }

    .card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      transform: translateY(-3px);
    }

    .card .tags {
      display: flex;
      gap: 8px;
      position: absolute;
      top: -12px;
      right: 10px;
    }

    .red-tag,
    .discount-tag {
      padding: 4px 10px;
      font-size: 12px;
      border-radius: 30px;
      color: white;
      font-weight: bold;
      white-space: nowrap;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .red-tag {
      background-color: #e53935;
    }

    .discount-tag {
      background-color: #f57c00;
    }

    .card span {
      display: block;
      font-weight: bold;
      font-size: 14px;
      margin-bottom: 6px;
    }

    .card .price {
      color: #37474f;
      font-size: 14px;
    }

    .price-original {
      text-decoration: line-through;
      color: #b0bec5;
      font-size: 13px;
      margin-top: 4px;
    }

    .fee {
      background-color: #ffebee;
      padding: 12px;
      border-radius: 10px;
      color: #b71c1c;
      font-weight: bold;
      margin-bottom: 24px;
      text-align: center;
      border: 1px dashed #ef9a9a;
    }

    .btn {
      display: block;
      width: 100%;
      padding: 16px;
      background: linear-gradient(to right, #1976d2, #42a5f5);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 17px;
      font-weight: bold;
      text-align: center;
      cursor: pointer;
      margin-bottom: 20px;
      transition: background 0.3s ease;
    }

    .btn:hover {
      background: linear-gradient(to right, #1565c0, #1e88e5);
    }

    .note {
      text-align: center;
      font-size: 13px;
      margin-bottom: 16px;
      color: #607d8b;
      cursor: pointer;
      text-decoration: underline dotted;
    }

    .overlay {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      backdrop-filter: blur(6px);
      background: rgba(0, 0, 0, 0.4);
      z-index: 999;
      display: none;
      justify-content: center;
      align-items: center;
    }

    .overlay.active {
      display: flex;
    }

    .popup {
      background: white;
      padding: 30px 20px;
      border-radius: 14px;
      text-align: center;
      max-width: 320px;
      width: 90%;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      animation: zoomIn 0.4s ease;
      position: relative;
      overflow: visible;
    }

    .popup .icon {
      font-size: 48px;
      color: #e53935;
      margin-bottom: 12px;
    }

    .popup h2 {
      font-size: 20px;
      color: #c62828;
      margin-bottom: 10px;
    }

    .popup p {
      font-size: 14px;
      color: #555;
      line-height: 1.8;
      direction: rtl;
      text-align: justify;
      position: relative;
      z-index: 2;
    }

    .step {
      display: none;
    }

    .step.active {
      display: block;
    }

#copy-toast {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8);
  background: #4caf50 !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: bold;
  z-index: 1000 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  text-align: center;
  display: none;
  white-space: nowrap; /* ✅ جلوگیری از چند خطی شدن */
  animation: toastPop 0.4s ease-out forwards !important;
}


@keyframes toastPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

  </style>
  <style>
/* عمومی برای همه پاپ‌آپ‌ها */
.popup {
  background: #fff;
  padding: 30px 24px;
  border-radius: 16px;
  text-align: right;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  animation: zoomIn 0.4s ease;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.popup h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #263238;
}

/* مراحل پرداخت */
.step {
  display: none;
}
.step.active {
  display: block;
}

/* کارت‌های پرداخت */
.payment-method {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f5f7fa;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.payment-card:hover {
  background: #e8f0fe;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.payment-card i {
  font-size: 20px;
  color: #1565c0;
}

.payment-card span {
  font-weight: bold;
  font-size: 14px;
  color: #37474f;
}

/* باکس‌های درون کارت */
.payment-card div {
  width: 100%;
}

.payment-card .btn {
  width: auto;
  font-size: 13px;
  padding: 6px 10px;
  margin-top: 6px;
}

#card-options {
  border-top: 1px solid #ddd;
  margin-top: 12px;
  padding-top: 12px;
}

/* قوانین */
.countdown-circle {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.08;
  z-index: 0;
  width: 240px;
  height: 240px;
}

.countdown-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.countdown-circle circle.bg {
  stroke: #ccc;
  fill: none;
  stroke-width: 10;
}

.countdown-circle circle.progress {
  stroke: #f44336;
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

/* فرم ثبت رسید */
#receipt-form label {
  font-size: 13px;
  margin-bottom: 4px;
  display: inline-block;
  color: #37474f;
}

#receipt-form input,
#receipt-form select {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #cfd8dc;
  font-size: 13px;
  margin-bottom: 8px;
}

/* دکمه‌ها */
.popup .btn {
  background: linear-gradient(to right, #1976d2, #42a5f5);
  border: none;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  width: 100%;
}

.popup .btn:hover {
  background: linear-gradient(to right, #1565c0, #1e88e5);
}

.popup .btn.secondary {
  background: #e0e0e0;
  color: #37474f;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
</style>
<style>
/* مرکز کردن آیکن و عنوان در پاپ‌آپ قوانین و پرداخت */
.popup .icon {
  display: block;
  margin: 0 auto 12px auto;
  text-align: center;
}

/* وسط‌چین کردن عنوان */
.popup h2 {
  text-align: center;
  margin-bottom: 16px;
}

/* وسط‌چین کردن محتوا در مراحل اولیه */
.step-1,
.step-2 {
  text-align: center;
}

/* فاصله بین گزینه‌ها و دکمه بازگشت */
.step-2 .btn {
  margin-top: 24px;
}


/* مرکز کردن دایره شمارش */
.countdown-circle {
  top: 20px !important;
}

/* جلوگیری از برخورد آیکن با دایره */
#rules-popup .popup h2 {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}
</style>
<style>
/* وسط‌چین کردن دایره تایمر در پاپ‌آپ قوانین */
#rules-popup .popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#rules-popup .popup .countdown-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  width: 220px;
  height: 220px;
  z-index: 0;
}

/* اعداد معکوس درون دایره */
#rules-popup .popup p {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #37474f;
  line-height: 2;
}

/* تنظیم ارتفاع برابر برای تمام مراحل پرداخت */
#payment-popup .popup {
    max-height: 630px !important;
    display: flex !important;
    height: 630px !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    position: relative !important;
}

#payment-popup .step {
  display: none;
  flex: 1;
  flex-direction: column;
justify-content: flex-start;
  min-height: inherit;
}

#payment-popup .step.active {
  display: flex;
}


/* تاریخ و ساعت - عمودی */
#receipt-form .datetime-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

#receipt-form .datetime-group select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 13px;
}

/* استایل باکس روش پرداخت */
.payment-card.method-card {
  flex-direction: column;
  align-items: flex-start;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 16px;
  gap: 8px;
  opacity: 0.5;
  position: relative;
}

.payment-card.method-card.active {
  opacity: 1;
  background: #e3f2fd;
  border: 2px solid #42a5f5;
}

.payment-card .status-tag {
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 10px;
  background: #90a4ae;
  color: white;
  position: absolute;
  top: -10px;
  left: 12px;
}

.payment-card.active .status-tag {
  background: #2e7d32;
  color: #fff;
}

/* درون method-card */
.payment-card.method-card p {
  font-size: 13px;
  margin: 4px 0;
  color: #455a64;
}
.online-warning.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.online-warning .icon {
  font-size: 32px;
  color: #d32f2f;
  margin-bottom: 10px;
}

.online-warning {
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  background: #f1f8e9;
  color: #33691e;
  font-size: 14px;
  transition: all 0.3s ease;
}

.online-warning.active {
  background: #e3f2fd;
  border-color: #90caf9;
  color: #0d47a1;
}

.online-warning .desc {
  font-size: 13px;
  margin-top: 10px;
  color: #607d8b;
}

.online-warning.disabled {
  background: #fbe9e7;
  color: #b71c1c;
  border-color: #ef9a9a;
  opacity: 0.7;
}

.online-warning .title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 15px;
}
.datetime-wrapper {
  margin-bottom: 16px;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.date-select-group,
.time-select-group {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: nowrap;
}

.date-select-group select,
.time-select-group select {
  padding: 10px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid #cfd8dc;
  background: #fff;
  flex: 1;
  min-width: 90px;
  transition: border 0.3s ease;
}

.time-select-group span {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: #455a64;
}

.datetime-wrapper label {
  font-size: 13px;
  font-weight: bold;
  color: #37474f;
  margin-bottom: 4px;
}
.countdown-inline {
  display: inline-block;
  width: 48px;
  height: 48px;
  opacity: 0.3;
  vertical-align: middle;
  margin-top: 12px;
}

.countdown-inline svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-inline circle.bg {
  stroke: #ccc;
  fill: none;
  stroke-width: 6;
}

.countdown-inline circle.progress {
  stroke: #f44336;
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
/* پاپ‌آپ قوانین */
#rules-popup .popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
}

#rules-popup .icon {
  margin-bottom: 8px;
  font-size: 36px;
  color: #1976d2;
}

#rules-popup h2 {
  margin-bottom: 12px;
  font-size: 18px;
  text-align: center;
  color: #263238;
}

/* متن قوانین */
#rules-popup p {
  direction: rtl;
  text-align: justify;
  font-size: 14px;
  color: #37474f;
  margin-top: 0;
}

/* تایمر کوچک با عدد فارسی وسطش */
.countdown-inline {
  display: block;
  width: 72px;
  height: 72px;
  margin: 24px auto 0;
  opacity: 0.3;
}

.countdown-inline svg {
  width: 100%;
  height: 100%;
  position: relative;
}

.countdown-inline circle.bg,
.countdown-inline circle.progress {
  transform: rotate(-90deg);
  transform-origin: center;
}

.countdown-inline text {
  transform: rotate(90deg);
  transform-origin: center;
  font-family: 'Vazirmatn', sans-serif;
}


.countdown-inline circle.bg {
  stroke: #ccc;
  fill: none;
  stroke-width: 6;
}

.countdown-inline circle.progress {
  stroke: #f44336;
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

.countdown-inline text {
  font-family: 'Vazirmatn', sans-serif;
}
.card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center; /* ✅ این مهمه */
}

.card-title {
  font-weight: bold;
  font-size: 13px;
  color: #37474f;
  flex: 1;
  text-align: right;
}

.card-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.card-prices .price {
  font-size: 14px;
  color: #2e7d32;
  font-weight: bold;
}

.card-prices .price-original {
  text-decoration: line-through;
  color: #b0bec5;
  font-size: 12px;
}
.back-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 18px;
  cursor: pointer;
  color: #37474f;
  transition: color 0.3s ease;
  z-index: 10;
}

.back-icon:hover {
  color: #1565c0;
}
.close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  z-index: 10;
  transition: color 0.3s ease;
}

.close-icon:hover {
  color: #e53935;
}
.tax-badge {
    display: inline-block;
    background: #4CAF50;
    color: white !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 5px 8px 2px 8px;
    border-radius: 5px;
    position: absolute;
    top: -10px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.hidden {
  display: none !important;
}
a.btn.btndlfile {
    width: max-content;
    padding: 15px 12px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}
a.btn.btndlfile:hover {
    color: #fff;
}
.receipt-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}
.receipt-modal-content {
  background: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  text-align: center;
}
.receipt-close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}
.imgmodalpopup {
    position: relative;
    height: 80%;
    width: 18%;
    margin: 80px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.custom-file-upload {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 9px;
}

.custom-file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-upload label {
  display: inline-block;
  width: 100%;
  padding: 10px 12px;
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  text-align: right;
}

.custom-file-upload label i {
  margin-left: 8px;
  color: #666;
}
.custom-file-upload label#receipt-label {
    padding: 13px;
    margin-bottom: 0px;
    margin-top: -3px;
}
.slider-wrapper {
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.card-slider {
    position: relative;
    height: auto;
    padding: 20px 0px;
}
.card-slider .card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
}
.card-slider .card.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

#cart-popup-overlay .popup {
  direction: rtl;
  text-align: right;
}
#cart-popup-overlay .close-icon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 30px;
  position: relative;
}

.progress-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 3;
  position: relative;
  z-index: 2;
}

.progress-steps .circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #888;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: all 0.3s ease;
      padding-top: 2.9px;
}

.progress-steps .step span {
  font-size: 11px;
  margin-top: 6px;
  color: #888;
  font-weight: bold;
}

.progress-steps .step.done .circle {
  background: #4caf50;
  color: white;
}

.progress-steps .step.active .circle {
  background: #ff9800;
  color: white;
}

.progress-steps .step.done span,
.progress-steps .step.active span {
  color: #37474f;
}

.progress-steps .line {
  height: 3px;
  background: #ccc;
  flex: 1;
  margin: 0 6px;
  position: relative;
  z-index: 1;
}
.invoice-popup-unique {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.invoice-popup-unique.active {
  display: flex;
}
.invoice-popup-box {
  background: #fff;
  border-radius: 12px;
  max-width: 480px;
  width: 90%;
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 14px;
  line-height: 1.8;
  color: #37474f;
  direction: rtl;
}
.invoice-popup-header {
display: block;
  align-items: center;
  margin-bottom: 10px;
}
.invoice-popup-header h2 {
  font-size: 18px;
  color: #263238;
  margin: 0;
}
.invoice-popup-body hr {
  margin: 16px 0;
}
.receipt-image-box img {
  max-width: 100%;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 12px;
  border: 1px solid #ccc;
}
.invoice-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.invoice-items-list li {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.item-title {
  display: block;
  font-weight: bold;
}
.item-price {
  color: #2e7d32;
  display: inline-block;
  margin-top: 4px;
}
.item-discount {
  font-size: 12px;
  color: #d32f2f;
  display: block;
}
.invoice-popup-box .close-icon {
  cursor: pointer;
  font-size: 18px;
  color: #888;
  transition: color 0.3s;
}
.invoice-popup-box .close-icon:hover {
  color: #d32f2f;
}
.btndlresidfactor a {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    font-size: 13px;
    color: #c31b1b;
    width: max-content !important;
    max-width: fit-content !important;
    margin-top: 0px !important;
    text-decoration: auto;
}
.qrresidfactor {
    margin-bottom: -40px;
}
.btndlresidfactor a:hover {
    background: transparent;
}
.btndlfilefactor a {
    background: #6392cd;
    padding: 15px 30px !important;
    border-radius: 30px;
    font-size: 15px !important;
    font-weight: 600;
}
.imgresidfactor a {
    background: #2c9579;
    padding: 10px 30px !important;
    border-radius: 30px;
    font-size: 15px !important;
    font-weight: 500;
    color: #fff;
    text-decoration: auto;
}
.imgresidfactor {
    text-align: center;
}
.itemresidfactor h3 {
    font-size: 18px;
    color: #263238;
    margin: 0;
}
.itemresidfactor li {
    text-align: center;
}
.showimgresid {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.showimgresid .popup {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  position: relative;
}
.showimgresid .popup img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
#payment-popup .step {
  display: none;
  flex-direction: column;
}
#payment-popup .step.active {
  display: flex;
}


button.btn.go-to-receipt-btn {
    margin: 0;
    background: #4caf50 !important;
    margin-top: -12px !important;
}
.quantity-tag{padding:4px 10px;font-size:12px;border-radius:30px;color:#fff;font-weight:700;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.15);background:#1565c0}.card .tags{flex-wrap:wrap;max-width:calc(100% - 20px)}.card{height:auto;min-height:96px}.card-content{gap:10px}@media(max-width:480px){.card .tags{gap:6px;top:-14px}.quantity-tag,.red-tag,.discount-tag{font-size:11px;padding:4px 8px}.card-content{flex-direction:column;align-items:flex-start}.card-prices{align-items:flex-start;text-align:right}}
