/*Grids*/
.reservation-wizard {
  position: relative;
}
.reservation-section-top {
  display: flex;
  gap: 32px;
}
button.prev-step {
  background-color: #006b8b !important;
  color: white !important;
  border-radius: 10px;
  padding: 0px 24px;
}
/* همه مراحل توی هم باشن */
.step-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
/* مرحله فعال نمایش داده بشه */
.step-content.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.step-content.active {
  display: block;
}
.reservation-section {
  margin-top: 24px;
}
.space-card {
  width: 25%;
  text-align: center;
  background-color: #0383a81a;
  padding-bottom: 24px;
  border-radius: 10px;
}
.space-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.space-info {
  flex-grow: 1;
}
.select-space-btn {
  margin-top: auto;
}
.space-selection-grid {
  display: flex;
  gap: 32px;
}
h3.step-title {
  font-size: 20px;
}
.space-info {
  padding: 0px 16px;
  padding-top: 24px;
}
.space-info .space-original-price{
  margin-bottom: 4px !important;
}
.space-price {
  color: var(--wd-primary-color);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
button.select-space-btn {
  width: 80%;
  background-color: #0383a8;
  color: white;
  padding: 16px 16px;
  border-radius: 10px;
}
button.select-space-btn:hover {
  background-color: #006b8b;
  color: white;
}
.space-card.selected {
  border: 1px solid #0383a8;
}
.prev-step {
  display: none;
}
/*Gallery Section*/
.space-gallery-wrapper {
  aspect-ratio: 3 / 2;
  position: relative;
  width: 100%;
}
.space-gallery {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 10px 10px 00px 0px;
}
.gallery-image.active {
  opacity: 1;
  z-index: 1;
}
.space-image img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}
.gallery-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
  z-index: 1;
}
.gallery-controls button {
  background: #FFFFFF87;
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-controls button:hover {
  background: #FFFFFF87 !important;
  color: white;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  gap: 6px;
  position: absolute;
  bottom: 6%;
  z-index: 1;
  justify-self: anchor-center;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  background: #ffffff87;
  border-radius: 50%;
  transition: background 0.3s ease;
  cursor: pointer;
}
.gallery-dot.active {
  background: white;
  width: 20px;
  border-radius: 8px;
}
#lightbox-2 {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  inset: 0;
}
#lightbox-2.show {
    display: flex;
    direction: ltr;
}

#lightbox-2-image {
  touch-action: none;
  cursor: grab;
  max-width: 95vw !important;
  max-height: 90vh !important;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  pointer-events: auto;
}
.lightbox-close-2,
#lightbox-2-prev,
#lightbox-2-next {
  position: absolute;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 24px;
  cursor: pointer;
  z-index: 999999;
}
.lightbox-close-2 {
  top: 20px;
  right: 30px;
}
#lightbox-2-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
#lightbox-2-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}


/*step2*/
.event-segment-group {
  display: flex;
  gap: 16px;
}
.ceremony-first-highlight > :first-child {
  background-color: #000000 !important;
  color: white !important;
}

button.segment-btn {
  background-color: #0383a81a;
  border-radius: 10px;
  padding: 16px 32px;
  font-size: 14px;
}
/*step3*/
#calendar-wrapper {
  margin-top: 16px;
  direction: rtl;
}
.jalali-datepicker {
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: white;
}
/*Step 4.1*/
.crp-rest-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
button.crp-package-continue-btn.masjed-main-button-outline {
  width: 50%;
}
button.crp-package-pay-btn.masjed-main-button {
  width: 50%;
}

@media (max-width: 900px) {
  .crp-rest-packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
    .crp-rest-modal-dialog {
      max-width: 85% !important;
      max-height: 76vh !important;
      top: 5% !important;
  }
  .crp-rest-package-card-footer .crp-rest-package-select-btn, .crp-rest-package-card-footer .crp-rest-package-details-btn{
    font-size: 12px !important;
  }
  .crp-rest-package-card {
    padding: 0px !important;
  }
  .crp-rest-package-inner {
    padding: 16px 8px !important;
  }
  .crp-rest-package-card-footer {
    gap: 4px !important;
  }
  h3.step-title {
    font-size: 14px !important;
  }
  .crp-rest-package-header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  h3.crp-rest-modal-title {
    padding-left: 32px !important;
  }
}

.crp-rest-package-card {
  background: #0383a81a;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease-in-out;
}
.crp-rest-package-inner {
  padding: 16px;
}
.crp-rest-package-card .product-card-top .subpack-lightbox-image {
  border-radius: 8px 8px 0px 0px;
}
.crp-rest-package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.crp-rest-package-card.selected {
  background: #fff7e6; /* یه نارنجی خیلی ملایم */
  border-color: #f39c12;
  box-shadow: 0 0 0 1px rgba(243, 156, 18, 0.25);
}

.crp-rest-package-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.crp-rest-package-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.crp-rest-package-price {
  color: var(--wd-primary-color);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.crp-rest-packages-footer {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
button.crp-rest-package-select-btn {
  width: 50% !important;
}
button.crp-rest-package-details-btn {
  width: 50% !important;
}
.masjed-main-button-outline {
  padding: 0px 20px !important;
  border-radius: 10px !important;
  color: #026667 !important;
  background: none !important;
  border: 2px solid #026667 !important;
}
.masjed-main-button-outline:hover {
  background-color: #e5f2f6 !important;
}
.crp-rest-package-facilities {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
}

.crp-rest-package-facility-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}

.crp-rest-package-facility-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.crp-rest-package-card-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  gap: 8px;
}

.crp-rest-package-select-btn {
  font-size: 13px;
  padding: 6px 12px;
}
.crp-rest-modal {
  position: fixed;
  inset: 0;
  z-index: 9999 !important; 
  display: none;
  direction: rtl;
}
body.crp-rest-modal-open .inner-about-menu {
  opacity: 0;
  pointer-events: none;
}

.crp-rest-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.crp-rest-modal-dialog {
  position: relative;
  max-width: 70%;
  width: 90%;
  max-height: 80vh;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  overflow-y: auto;
  top: 10%;
}

.crp-rest-modal-close {
  position: absolute !important;
  top: 8px;
  left: 12px;
  border: none;
  background: #0000000f !important;
  font-size: 22px !important;
  cursor: pointer !important;
  border-radius: 8px !important;
}

.crp-rest-modal-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.crp-rest-modal-body {
  font-size: 14px;
  line-height: 1.8;
}

body.crp-rest-modal-open {
  overflow: hidden;
}
body.crp-rest-modal-open #branch-map {
  opacity: 0;
  pointer-events: none;
}

/*ُStep 4.2*/
.crp-rest-ceremony-card.selected, .service-row-selected, .product-card-selected, .service-row-wrapper-selected {
  background: #fff7e6 !important;   /* رنگ زرد ملایم */
  border-color: #ffbe63 !important; /* رنگ حاشیه هماهنگ */
  transition: background 0.25s ease, border-color 0.25s ease;
}
.service-row-wrapper-selected {
  border-radius: 8px;
  border: 1px solid;
}

.crp-rest-ceremony-card {
  background: #0383a81a;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
button.masjed-main-button.crp-ceremony-continue-btn {
  margin-top: 24px !important;
  width: 100% !important;
}

/* ===== قفل اسکرول موقع باز بودن لایت‌باکس / مودال ===== */

html.crp-no-scroll,
body.crp-no-scroll {
    overflow: hidden;
}
.ceremony-zoom-icon {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}

.ceremony-zoom-icon:hover {
  background: rgba(0,0,0,0.75);
}



/*step 5*/
.reservation-services-wrapper {
  border: 1px solid #006b8b;
  padding: 16px;
  border-radius: 10px;
  width: 100%;
}
.service-items {
  display: grid;
  justify-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.step-5 .service-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  background-color: #e5f2f6;
  border-radius: 8px;
  padding: 8px 4px;
}
.step-5 .service-row span.service-price,.step-5 .service-row strong.service-title {
  font-size: 12px;
}
.step-5 .service-row .service-icon {
  width: 20px;
}
.step-5 .service-row-wrapper {
  position: relative;
}
.service-info {
  color: #242424;
}
span.service-title-required {
  font-size: 10px;
  color: red;
}
.service-info {
  display: flex;
  flex-direction: column;
}
.service-row-wrapper {
  width: 100%;
}
.reservation-products {
    border-top: 1px solid #b5b5b5;
    padding-top: 16px;
}
.product-item-wrapper {
  margin-bottom: 15px;
}
.product-row {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background: #e5f2f6;
  border-radius: 10px;
  transition: background 0.3s;
  width: 100%;
}
.product-row:hover {
  background: #006b8b21;
}
.product-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin-left: 12px;
}
.product-title {
  flex: 1;
  font-size: 16px;
}
.accordion-icon {
  font-size: 14px;
  transition: transform 0.3s;
}
.product-subpacks {
  width: 75%;
  justify-self: center;
}
.subpack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.subpack-check {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  width: 100%;
}
.subpack-check img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.subpack-info {
  display: flex;
  flex-direction: column;
}
.subpack-contents {
  font-size: 13px;
}
select.subpack-count-select {
  width: 100% !important;
  color: #272727 !important;
  border: 1px solid #272727 !important;
  border-radius: 8px !important;
}
.subpack-actions-label {
  font-size: 14px;
  text-align: right;
  margin: 8px 0px 4px 0pc;
  font-weight: 400;
  color: #990303;
}
.btn-submit-count, .btn-edit-count {
  font-size: 13px !important;
  padding: 4px 24px !important;
  background-color: #afe1ad82 !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.2s !important;
}
.btn-edit-count {
    background-color: #e1adad82 !important;
}
.section-separator {
    margin: 12px 0;
    padding: 8px 12px;
    background: #f1f1f1;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    color: #444;
}
.subpack-actions .btn-edit-count {
  background-color: argba(255, 227, 177, 0.51) !important;
}
.btn-submit-count:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.subpack-count-input[disabled] {
  background-color: #f0f0f0;
  color: #888;
}
button#crp-preview-reservation-btn {
  color: white;
  background-color: #006b8b;
  width: 100%;
  border-radius: 10px;
  padding: 16px 0px;
}
.subpack-check img.subpack-lightbox-image {
  pointer-events: auto;
  cursor: zoom-in;
}
.crp-custom-pack-under-zindex {
  position: fixed;
  bottom: 74px;
  background-color: #fff;
  padding: 0px;
  width: 100%;
  max-width: 73%;
  display: flex;
  align-items: center;
  border-top: 1px solid black;
  z-index: 6;
}
.crp-under-custom-pack {
  display: flex;
  gap: 80px;
  margin: 24px 0;
  color: #424242;
  width: 50%;
}
.custom-pack-actions-feedback {
  width: 50%;
}
#custom-pack-form .product-categories-grid {
  margin-bottom: 170px;
  grid-template-columns: repeat(5,1fr) !important;
}
select#custom-pack-total-count {
  border: 1px solid #767676;
  border-radius: 10px;
  margin-right: 8px;
}
button#custom-pack-add-btn {
  background-color: #006b8b;
  color: #fff;
  border-radius: 10px;
  max-width: 30%;
  max-height: 48px;
}
.custom-pack-actions-actions {
  width: 100%;
  margin-top: 8px;
}
button#custom-pack-remove-btn {
  color: white;
  background-color: #ce0000;
  border-radius: 10px;
  max-width: 30%;
  max-height: 48px;
}
.subpack-check {
  pointer-events: none;
}
.subpack-check * {
  pointer-events: auto;
}
.services-gradient {
  height: 96px;
  background: linear-gradient(to top,#fff 83%,transparent);
  margin-top: -33px;
  position: relative;
  z-index: 1;
  padding-top: 8px;
}
.subpack-title {
  font-size: 18px;
  font-weight: 600;
}
.subpack-info .price {
  color: var(--wd-primary-color);
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}
.service-items-more {
  transition: max-height 0.5s cubic-bezier(.4,2,.6,1) !important;
  overflow: hidden;
}
button#show-all-services-btn, button#hide-all-services-btn {
    margin-top: 16px !important;
}
#show-all-services-btn::after {
    content: "▼";
    font-size: 12px;
}
#hide-all-services-btn::after {
    content: "▲";
    font-size: 12px;
}
button#hide-all-services-btn {
  margin-top: -16px;
}
span.service-required-label {
  font-size: 12px;
  color: #9b0000;
  margin-right: 12px;
}
.custom-pack-wrapper .product-card {
  background: #76ebed !important;
}
/* گرید کارت‌های دسته‌بندی محصولات */
.product-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin: 0px;
  margin-bottom: 54px;
}
.grid-center-two .subpack-row:first-child {
  grid-column: 2;  /* کارت اول ستون دوم */
}

.grid-center-two .subpack-row:nth-child(2) {
    grid-column: 3;  /* کارت دوم ستون سوم */
}

/* هر آیتم (هر دسته‌بندی) */
.product-item-wrapper {
  margin-bottom: 0; /* چون گرید داریم، فاصله عمودی را گرید مدیریت می‌کند */
}

/* کارت دسته‌بندی محصول */
.product-card {
  background: #e5f2f6;
  border-radius: 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  height: 100%;
  box-shadow: 0 2px 6px rgb(0 0 0 / .06);
  transition: box-shadow 0.2s ease,transform 0.2s ease;
  border: 1px solid #07767826;
}
.product-card-top {
  width: 100% !important;
  aspect-ratio: 2/1;
}
.product-card-bottom {
  width: 100%;
  padding: 8px 32px 16px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* عکس دسته‌بندی داخل کارت (غیر از تصویرهای داخل ساب‌پک‌ها) */
.product-card .product-thumb {
  border-radius: 8px 8px 0px 0px;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.product-card .subproduct-thumb {
  border-radius: 8px 8px 0 0;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* عنوان و تعداد محصول داخل کارت */
.product-card .product-title {
  font-size: 18px;
  font-weight: 600;
}

.product-card .product-count {
  font-size: 14px;
  color: #666;
}

/* دکمه مشاهده محصولات داخل کارت */
.product-open-popup {
  width: 100%;
  margin-top: 8px;
  text-align: center;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 14px;
}

/* برای موبایل: 2 ستون */
@media (max-width: 640px) {
  .product-categories-grid {
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 0px;
  }
  .product-card-bottom {
    padding: 8px 12px 16px 12px;
  }
  .product-card .product-title {
    font-size: 16px;
  }
  .grid-center-two .subpack-row:first-child {
    grid-column: 1;  /* کارت اول ستون دوم */
  }

  .grid-center-two .subpack-row:nth-child(2) {
    grid-column: 2;  /* کارت دوم ستون سوم */
  }
  .subpack-title {
    font-size: 16px;
    font-weight: 600;
  }
  #custom-pack-form .product-categories-grid {
    margin-bottom: 230px;
    grid-template-columns: repeat(2,1fr)!important;
  }
  .custom-pack-feedback {
    font-size: 10px !important;
  }
  .crp-custom-pack-under-zindex {
    width: 100%;
    max-width: 100%;
  }
  .custom-pack-actions-feedback {
    text-align: left;
    padding-left: 24px;
  }
  button#custom-pack-add-btn,button#custom-pack-remove-btn {
    max-width: 100%;
  }
}
/* لایه تیره پاپ‌آپ */
.product-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;             /* پیش‌فرض بسته */
  align-items: center;
  justify-content: center;
  padding: 0px;
  z-index: 9999;
}

/* ✅ وقتی باز است → فلکس و نمایش */
.product-popup.is-open {
  display: flex;
}

/* بدنه داخل پاپ‌آپ */
.product-popup-inner {
  background: #ffffff;
  max-width: 100%;
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  overflow-y: auto;
  padding: 24px 8px 20px 8px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  -webkit-overflow-scrolling: touch;
  text-align: center;
}

/* عنوان پاپ‌آپ */
.product-popup-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  margin-top: 12px !important;
  justify-self: center;
}

/* دکمه ضربدر بستن */
.product-popup-close {
  position: absolute;
  top: 8px;
  left: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.product-popup-close:hover {
  color: #000;
}

/* محتوای محصولات داخل پاپ‌آپ (همان product-subpacks قبلی) */
.product-popup .product-subpacks {
  display: block;        /* مهم: آکاردئون نداریم، همیشه نشان داده شود */
  padding: 8px 0 0;
  background: #ffffff;
}

.product-popup-back-back {
  position: fixed;
  bottom: 0px;
  width: 95%;
  background-color: white;
  padding: 16px;
  justify-content: center;
  text-align: center;
  z-index: 7;
}

/* دکمه بازگشت به رزرو پایین پاپ‌آپ */
.product-popup-back {
  width: 40%;
}

/* جلوگیری از اسکرول پس‌زمینه هنگام باز بودن پاپ‌آپ */
html.crp-no-scroll,
body.crp-no-scroll {
  overflow: hidden;
}


/* بهبود چیدمان ساب‌پک‌ها در موبایل داخل پاپ‌آپ */
@media (max-width: 768px) {
  .subpack-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .subpack-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .subpack-check img {
    width: 52px;
    height: 52px;
  }
}
.packaging-row {
  background: #f3f7fb;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.packaging-info-left, .packaging-info-right {
  text-align: center;
  font-size: 15px;
  color: #444;
  padding: 8px;
  font-weight: 400;
  margin-bottom: 8px;
}

/* گرید کارت‌های بسته‌بندی وسط همان استایل کارت‌ها را می‌گیرد */
.packaging-cards .product-card {
  background: #e5f2f6;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .packaging-row {
    grid-template-columns: 1fr;
  }
}


/* حالت اولیه: مخفی */
.lightbox-hidden {
  display: none;
  overflow: hidden;
}
.subpack-lightbox-wrapper {
    position: relative;
    cursor: zoom-in;
    min-width: 60px;
}

/* هنگام فعال شدن */
#lightbox-subpack.show {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  overflow: hidden;
  padding: 20px;
}

.product-subpacks .packaging-section {
    background: #f9f9f9;
    padding: 16px;
    margin-bottom: 0px;
    border: 1px solid #ddd;
    border-bottom: 0px;
    border-radius: 8px;
}

/* تصویر داخل لایت‌باکس */
#lightbox-subpack-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  cursor: grab;
  user-select: none;
}

/* دکمه بستن */
.lightbox-close-subpack {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 99999;
  transition: opacity 0.2s ease;
}

.lightbox-close-subpack:hover {
  opacity: 0.7;
}

/*step 6*/
.step-content.step-6 {
  width: 100%;
  background-color: #e5f2f6;
  padding: 16px 32px;
  border-radius: 10px;
}
ul.reservation-summary-list {
  list-style: none;
  color: #616161;
}
table.reservation-invoice-table {
  color: #616161;
}
table.reservation-invoice-table td, table.reservation-invoice-table th {
    text-align: right !important;
}
.reservation-invoice-bottom-bottun {
  direction: ltr;
}
button#crp-final-payment-btn {
  width: 25% !important;
  background-color: #006b8b;
  color: white;
  border-radius: 10px;
}

@media (max-width: 600px) {
    .space-selection-grid {
      display: flex !important;
      gap: 10px;
      flex-direction: row;
    }
    .space-card {
      width: 50%;
    }
    .event-segment-group {
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .product-row.clickable {
      width: 100%;
    }
    .product-subpacks {
      width: 100%;
      padding: 10px 0px;
    }
    .subpack-actions {
      width: 100%;
    }
    input.subpack-count-input {
      width: 50% !important;
    }
    .reservation-services-wrapper {
      padding: 16px 8px;
      width: 100%;
    }
    .crp-under-custom-pack {
      flex-direction: column;
      gap: 8px;
    }
    .crp-custom-pack-under-zindex {
      bottom: 50px;
    }
    table.reservation-invoice-table thead tr th {
      font-size: 12px !important;
    }
    button#crp-final-payment-btn {
      width: 100% !important;
    }
    .subpack-count-select {
      padding: 0px 16px!important;
    }
    #product-1000011171>:nth-child(2), #product-1000011171>:nth-child(3) {
      padding: 8px;
    }
    .step-content.step-6 {
        padding: 16px 16px !important;
    }
}