.modal-open {
  overflow: hidden; /* Prevent scrolling when modal is open */
}

.modal-overlay .container {
  max-width: 1024px !important;
}
.product-modal {
  position: fixed; /* Not absolute */
  inset: 0;
  height: 100dvh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* backdrop-filter: blur(10px); */
  background: rgba(0, 0, 0, 0.6); /* Add a translucent overlay */
  margin: 0;
  display: none;
}

.product-modal .container {
  background: radial-gradient(
    circle at 9% 8%,
    #3a73cd,
    #0039ad 47%,
    #013297 84%
  );
  padding: 80px 168px;
  border-radius: 12px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-modal h3 {
  margin-bottom: 0;
}

.product-modal p {
  font-size: 22px;
  font-family: "IBMPlexSans-ExtraLight";
  line-height: 36px;
  font-style: normal;
  /* font-weight: 400; */
}

.product-modal p strong,
.product-modal p b {
  font-family: "OpenSans-Regular";
}

.product-modal p:first-child {
  margin-bottom: 20px;
  font-weight: 200;
}

.product-modal .btn-container {
  display: flex;
  column-gap: 40px;
  align-items: center;
}

.product-modal button {
  text-transform: uppercase;
  padding: 0;
  background: none;
  border: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 2px;
}
.product-modal button:focus {
  border: none;
  outline: none;
}

.product-modal .confirm-btn {
  color: white;
}
.product-modal .cancel-btn {
  color: #3f9cf6;
}

@media (min-width: 992px) and (max-width: 1366px) {
  .product-modal h3 {
    max-width: 300px;
  }
}

@media (max-width: 991px) {
  .product-modal .right-content p {
    margin-bottom: 0 !important;
  }

  .product-modal .graphic-source {
    margin-top: 20px;
  }

  .product-modal .line-anim {
    margin: 3px 40px 8px;
    height: 80px;
  }

  .product-modal h3 {
    margin-bottom: 40px;
  }

  .product-modal .btn-container {
    flex-direction: column;
    row-gap: 24px;
    align-items: start;
  }

  .product-modal .container {
    margin: 10px;
    padding: 52px 20px;
  }

  .product-modal p {
    font-size: 16px;
    font-style: normal;
    line-height: 26px; /* 162.5% */
  }

  .product-modal button {
    line-height: 20px;
  }

  .modal-overlay .container {
    margin: 0 20px;
  }
}
