:root {
  --accent: #fa6464;
  --bg-dark: #070707;
  --card-bg: #ffffff;
  --muted: #7a7a7a;
  --text-dark: #111;
  --radius: 14px;
  --transition: 250ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Vazirmatn", sans-serif;
  background-color: #ebe8e8;
  padding: 3.5rem 1rem;
  overflow-x: hidden;
}

/* Container */
.page-root {
  display: block;
}

/* Main Card */
.main-card {
  max-width: 1100px;
  width: 100%;
}
.card {
  background: var(--card-bg);
  border-radius: calc(var(--radius) + 4px);
  overflow: visible;
  box-shadow: 0 12px 50px rgba(2, 2, 2, 0.45);
  border: none;
}

/* Accent bar */
.accent-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), #ff8b8b, var(--accent));
}

/* Header */
.header-row .page-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #222;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
  text-transform: capitalize;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(90deg, #860f1b, #080707);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-row .page-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, #b02a37, transparent);
  transform: translateX(-50%);
  border-radius: 3px;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.header-row .page-title:hover::after {
  width: 80%;
  opacity: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  object-fit: cover;
}

/* Signout button */
.signout-btn {
  background-color: transparent;
  border: 1px solid #ccc;
  color: #444;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  transition: all 0.2s;
}
.signout-btn:hover {
  background-color: #f8f8f8;
  border-color: #aaa;
}

/* Stepper */
.stepper-wrap {
  padding: 0.6rem 0 1rem 0;
  margin-bottom: 0.6rem;
}
.stepper-inner {
  position: relative;
  padding: 1rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.step-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 35%;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    var(--accent) 15%,
    rgba(255, 255, 255, 0.2) 30%,
    var(--accent) 45%,
    rgba(255, 255, 255, 0.2) 60%,
    var(--accent) 75%,
    rgba(255, 255, 255, 0.2) 100%
  );
  background-size: 200% auto;
  animation: flowLine 5s linear infinite;
  z-index: 1;
}
@keyframes flowLine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: 0% center;
  }
}
.stepper {
  position: relative;
  z-index: 2;
  gap: 0.3rem;
  justify-content: space-between;
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  min-width: max-content;
}
.step-item {
  flex: 0 0 auto;
  width: 100px;
  min-width: 100px;
  margin: 0 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-caption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #444;
  font-weight: 600;
}
.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.1rem;
  background: #fff;
  transition: all 0.3s ease;
}
.step-circle.completed {
  background: linear-gradient(90deg, var(--accent), #ff8b8b);
  color: #fff;
  box-shadow: 0 0 20px rgba(250, 100, 100, 0.3);
  transform: translateY(-6px);
  border: none;
}
.step-circle.active {
  background: linear-gradient(90deg, var(--accent), #ff8b8b);
  color: var(--card-bg);
  box-shadow: 0 10px 28px rgba(250, 100, 100, 0.09);
  transform: translateY(-4px);
}
.step-circle.active::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 147, 147, 0.6);
  animation: rotateRing 5s linear infinite;
  opacity: 1;
  z-index: -1;
  filter: drop-shadow(0 0 10px #ff9393);
}

@media (max-width: 992px) {
  .step-line {
    display: none;
  }
  .stepper {
    justify-content: flex-start !important;
  }
}
@media (max-width: 500px) {
  .step-item {
    margin: 0px;
    margin-left: -10px;
  }
  .step-caption {
    font-size: 12px;
  }
}

/* Alert bar */
.alert-important {
  background: linear-gradient(90deg, var(--accent), #ff8b8b);
  color: #fff;
  border-radius: 10px;
  padding: 0 1rem;
  box-shadow: 0 10px 34px rgba(250, 100, 100, 0.12);
}
.alert-important img {
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 35px;
  transition: all 0.4s ease;
  margin: 10px 0px;
  object-fit: cover;
}
.alert-important img:hover {
  transform: scale(1.05);
}
.text-fild-morabi p {
  margin-right: 20px;
  text-align: justify;
}
@media (max-width: 460px) {
  .alert-important img {
    width: 55px;
    height: 55px;
  }
  .text-fild-morabi p {
    margin-right: 5px !important;
    font-size: 10px;
    line-height: 1.7;
    width: 100%;
    text-align: justify;
  }
}

/* Responsive header */
@media (max-width: 576px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .header-right {
    width: 100%;
    justify-content: space-between;
  }
  .flag {
    width: 32px;
    height: 30px;
  }
  .header-row .page-title {
    font-size: 15px;
  }
}
 /*--- Checkout Page ---*/
 .pm-section {
  padding: 1rem 0;
}

.pm-title {
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.pm-subtitle {
  color: #666;
  font-size: 13px;
  margin-bottom: 0;
}

/* Cards layout */
.pm-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 992px) {
  .pm-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .pm-cards {
    grid-template-columns: 1fr;
  }
}

/* Card style */
.pm-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.85));
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(250, 100, 100, 0.08);
  box-shadow: 0 8px 28px rgba(2, 2, 2, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.pm-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.pm-card {
  box-sizing: border-box;
  flex: 0 0 calc(50% - 8px);
  max-width: calc(50% - 8px);
}

@media (max-width: 992px) {
  .pm-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.pm-card.vip-card {
  flex: 0 0 100%;
  max-width: 100%;
}

/*--vip-card--*/
.vip-card {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, rgba(250,100,100,0.04), rgba(255,255,255,0.96));
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(250,100,100,0.12);
  transition: transform .22s ease, box-shadow .22s ease;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(7,7,7,0.04);
  background-clip: padding-box;
}

.vip-card::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  padding: 2px;
  background: conic-gradient(from 120deg, rgba(250,100,100,0.18), rgba(250,100,100,0.08), rgba(255,255,255,0));
  filter: blur(6px);
  opacity: .36;
  z-index: 0;
  transition: opacity .28s ease, transform .45s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.vip-card .pm-card-body,
.vip-card .pm-card-footer {
  position: relative;
  z-index: 2;
}

.vip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(7,7,7,0.06);
}
.vip-card:hover::before{
  opacity: .55;
  transform: scale(1.02);
}

.vip-card::after{
  content: "پکیج VIP";
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(90deg, var(--accent), rgba(250,100,100,0.85));
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(7,7,7,0.06);
  transform: translateZ(0);
  z-index: 3;
}

@keyframes shimmerVIP {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.vip-card .pm-card-header .title {
  position: relative;
  font-weight: 800;
  z-index: 3;
  display: inline-block;
  padding-right: 6px;
  color: var(--bg-dark);
}
.vip-card .pm-card-header .title::after{
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.65), rgba(255,255,255,0));
  background-size: 200% 100%;
  animation: shimmerVIP 2.8s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}

.vip-card .pm-price {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--accent);
  padding: 6px 10px;
  display: inline-block;
}

.vip-card .pm-checkbox {
  accent-color: var(--accent);
  transform: scale(1.06);
}

/* Checkbox */
.pm-checkbox {
  position: absolute;
  top: 12px;
  left: 7px;
  width: 17px;
  height: 17px;
  accent-color: #fa6464;
}

/* Card content */
.pm-card-body {
  flex: 1;
}
.pm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pm-card .title {
  font-weight: 600;
  color: #222;
  font-size: 14px;
  margin-bottom: 8px;
}
.pm-card-tag {
  font-size: 11px;
  color: #777;
}
.pm-card .desc {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  margin-top: 35px;
}
.pm-card .price {
  font-weight: 800;
  color: #fa6464;
  font-size: 16px;
}
/*--click-card-vip--*/
.pm-card.dimmed {
  opacity: 0.5;
  filter: grayscale(8%);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  pointer-events: none;
}
.pm-card.dimmed .pm-checkbox {
  pointer-events: none;
  opacity: 1;
}
.pm-card.vip-active {
  transform: translateY(-5px);
}


/* Summary */
.pm-summary {
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff7f7);
  border: 1px solid rgba(250, 100, 100, 0.07);
  box-shadow: 0 8px 26px rgba(250, 100, 100, 0.06);
}
.pm-summary h5 {
  margin-bottom: 12px;
  font-weight: 600;
  color: #fff;
  font-size: 17px;
}
.pm-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.pm-empty {
  color: #999;
  font-size: 13px;
}
.pm-chip {
  background: rgba(250, 100, 100, 0.07);
  border: 1px solid rgba(250, 100, 100, 0.15);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.pm-chip .pm-remove {
  background: transparent;
  border: none;
  color: #b33;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
  font-size: 15px;
}

/* Total Row */
.pm-total-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.06);
  padding-top: 10px;
}
.pm-total-label {
  font-size: 12px;
  color: #666;
  text-align: left;
}
.pm-total {
  font-size: 16px;
  font-weight: 900;
  color: #5cb85c;
}
.pm-currency-toggle {
  font-size: 14px;
}

/* Discount */
.pm-discount {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.pm-discount .form-control {
  border-radius: 8px;
  font-size: 11px;
  padding: 12px;
}
.pm-discount .form-control:focus {
  box-shadow: none;
  border-color: var(--accent);
}
.pm-discount .btn {
  border-radius: 8px;
  font-size: 11px;
  border-color: #b0b0b0;
  padding: 0 10px;
}
.pm-discount .btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}
.form-select-sm {
  font-size: 13px;
}
.form-select-sm:focus {
  box-shadow: none;
  border-color: var(--accent);
}

/* Pay actions */
.pm-pay-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pm-pay-card {
  flex: 1 1 220px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fff, #fffaf7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pm-pay-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.pm-pay-title {
  font-weight: 600;
  font-size: 13px;
}
.pm-pay-online {
  color: #fff;
  background: linear-gradient(90deg, #ff4b4b, #ff7c7c);
  padding: 3px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 10px;
}
.pm-pay-card .small-desc {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}
/*--modal--*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.868);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: transparent;
  border-radius: 12px;
  position: relative;
  max-width: 400px;
  text-align: center;
  box-shadow: none;
}
.close-btn {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 24px;
  cursor: pointer;
  color: var(--accent);
  z-index: 1001;
  cursor: pointer;
  transition: all 0.2s ease;
}
.close-btn:hover {
  transform: rotate(90deg);
  color: #fa3131;
}

.bi-x-lg {
  font-size: 16px;
}
.card-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.card-image {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.card-info {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
}

.card-info p, .card-info small {
  margin: 2px;
  font-weight: 600;
  color: white;
  font-size: 13px;
}
.card-info p{
  color: rgb(255, 239, 68) !important;
  font-size: 17px !important;
} 
.card-info h5 {
  color: white;
  font-size: 15px;
  margin-bottom: 15px;
}
.text-modal {
  background: transparent;
}
.text-modal p {
  color: white;
  font-size: 14px;
  text-align: justify;
  margin-top: 10px;
}
.text-modal textarea {
  width: 100%;
  height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  resize: none;
}
.btn-information {
  width: 100%;
  padding: 6px;
  background: linear-gradient(135deg, #4a90e2, #6fb1fc);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.btn-information:hover {
  background: linear-gradient(135deg, #5aa3f0, #7fc4ff);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}


.text-modal textarea:hover {
  border-color: #bdbdbd;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.text-modal textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 4px 10px rgba(74,144,226,0.2);
}
/*--end modal-cart*/
/*--modal-arz*/

#foreignModal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
}
#foreignModal.active {
  display: flex;
}
#close-btn-2 {
  color: #070707;
}
#back-modal {
  background: white;
}
.header-modal {
  background: linear-gradient(90deg, var(--accent), #ff8b8b);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  border-radius: 11px 11px 0px 0px;
}
.header-modal p {
  margin: 0;
  font-size: 15px;
}

.card-container {
  padding: 20px 24px 10px 24px;
}
.card-info-2 {
  background: var(--accent);
  color: #f2f2f2;
  text-align: justify;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}
.card-info-2 p {
  font-size: 13px;
}
.card-info-2 a {
  color:#700101e0;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.card-info-2 a:hover {
  color: #3c0101;
}

.text-modal {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-modal textarea::-webkit-scrollbar {
  width: 6px;
}
.text-modal textarea::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
.text-modal textarea::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}


/*--end modal-arz*/


.pm-note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 10px;
}

.pm-alert {
  margin-top: 8px;
  display: none;
}

@media (max-width: 576px) {
  .pm-card {
    min-height: 110px;
  }
  .pm-pay-card {
    flex-basis: 100%;
  }
}

