:root {
  --loading-grey: #e6e6e6;
}

.shopify-app-block {
  position: unset !important;
}

#fundpop-product-id {
  display: none;
}

#fundpop-reward-tier-product-id {
  display: none;
}

image-gallery .fundpop-widget-container {
  width: 100%;
  height: fit-content;
  border-radius: 8px;
  overflow: visible;
  display: none;
}

image-gallery .fundpop-loading-progress-container {
  width: 100%;
  height: fit-content;
  background-color: #f5f5f5;
  border-radius: 8px;
  /* margin-top: 66px; */
}

.fundpop-loading-progress-container .fundpop-loading-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 3px;
  background-color: #dedede;
  z-index: 1;
  margin: 12px 0;
}

.fundpop-loading-title,
#fundpop-loading-progress-bar__bar,
.fundpop-loading-help-text h3,
.fundpop-loading-help-text p,
.fundpop-loading-lable-item p,
.fundpop-loading-lable-item span,
#fundpop-loading-time-text {
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

.fundpop-loading-title {
  color: transparent;
  height: 12px;
  border-radius: 17.5px;
}

.fundpop-loading-title-up {
  width: 100%;
  margin-bottom: 0px;
}

.fundpop-loading-title-down {
  width: 70%;
  margin-top: 8px;
  margin-bottom: 8px;
}

#fundpop-loading-progress-bar__bar {
  height: 100%;
  z-index: 2;
  border-radius: 8px;
}

.fundpop-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: hidden;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content/Box */
.fundpop-modal-content {
  background-color: #ffffff;
  width: 90%;
  max-width: 600px;
  min-height: 248px;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 3px 6px -3px rgba(23, 24, 24, 0.08), 0px 8px 20px -4px rgba(23, 24, 24, 0.12);
  border-radius: 8px;
  /* padding: 20px 30px 20px 20px; */
  border: 1px solid #e1e3e5;
  /* font-family: "SF Pro Display", sans-serif; */
}

@media (max-width: 640px) {
  .fundpop-modal-content {
    width: 95%;
    max-width: none;
  }
}

.fundpop-modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-shadow: inset 0px -1px 0px #e1e3e5;
}

.fundpop-modal-title h1 {
  /* font-family: "SF Pro Display", sans-serif; */
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #202223;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  flex: 1;
  margin: 0;
}

h1 .fundpop-product-title-sharing {
  font-weight: 600;
}

.fundpop-modal-title .fundpop-close-button {
  font-size: 20px;
  color: #5c5f62;
  cursor: pointer;
  line-height: 26px;
}

.fundpop-modal-content .fundpop-modal-body {
  padding: 20px;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e1e3e5;
}

.fundpop-input-link-product {
  padding: 8px 12px;
  flex: 1;
  height: 36px;
  background: #ffffff;
  border: 1px solid #aeb4b9;
  /* box-shadow: inset 0px 1px 0px #898f94; */
  border-radius: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  color: #202223;
  display: flex;
  align-items: center;
}

.fundpop-copy-link-button {
  /* font-family: "SF Pro Text", sans-serif; */
  padding: 8px 16px;
  height: 36px;
  min-width: 75px;
  background: #008060;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.08), inset 0px -1px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.fundpop-copy-link-button:hover {
  background: #006e52;
}

.fundpop-modal-footer {
  padding: 20px;
}

.fundpop-modal-footer .fundpop-modal-another-sharing {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: left;
  color: #202223;
  margin-bottom: 12px;
}

.fundpop-sharing-networks {
  display: flex;
  gap: 12px;
}

.fundpop-sharing-network-button {
  min-width: 89px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #8c9196;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 1;
}

.fundpop-sharing-network-button:hover {
  background-color: #f5f5f5;
}

.fundpop-sharing-network-button span {
  color: #202223;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.fundpop-share-logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
}

.fundpop-loading-help-text h3 {
  color: transparent;
  font-size: 24px;
  font-weight: 600;
  line-height: 0px;
  width: 110px;
  height: 21px;
  border-radius: 30px;
  margin: 32px 0 0 0;
}

.fundpop-loading-help-text p {
  color: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 10px;
  width: 45px;
  height: 12.25px;
  border-radius: 17.5px;
  margin: 9px 0 0 0;
}

.fundpop-flex-start {
  display: flex;
  flex-direction: column;
}

.fundpop-flex-end {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: end;
}

#fundpop-loading-header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row;
  flex-wrap: wrap;
}

.fundpop-loading-lable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #767676;
  font-size: 14px;
  font-weight: 500;
  line-height: 0px;
}

.fundpop-loading-lable p {
  color: black;
  font-size: 14px;
  font-weight: 700;
}

.fundpop-loading-lable span {
  color: black;
  font-size: 15px;
}

.float-right {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
}

.fundpop-loading-lable-item {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
}

.fundpop-loading-lable-item p {
  width: 70px;
  height: 12.25px;
  border-radius: 17.5px;
  color: transparent;
  margin: 0 0 20px 0;
}

.fundpop-loading-lable-item span {
  color: transparent;
  width: 70px;
  height: 12.25px;
  border-radius: 17.5px;
}

#fundpop-loading-countdown {
  display: flex;
  padding: 8px 20px;
  flex-wrap: wrap;
  column-gap: 2px;
  font-size: 12px;
}

#fundpop-time {
  display: flex;
  align-items: baseline;
  flex-direction: row;
  column-gap: 4px;
  flex-wrap: wrap;
}

.fundpop-loading-container {
  border-top: 1px solid #d7d7d7;
  padding-bottom: 8px;
}

#fundpop-loading-border-box {
  padding: 12px 20px;
  max-height: 145px;
  margin-bottom: 39px;
}

#fundpop-reward-loading-container {
  max-width: 410px;
  border: 1px solid var(--loading-grey);
  border-radius: 10px;
}

#fundpop-reward-loading-border-box {
  margin-bottom: 39px;
}

.fundpop-reward-loading-thumbnail {
  width: 100%;
  height: 240px;
  color: transparent;
  border-radius: 8px 8px 0 0;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

.fundpop-reward-loading-content {
  padding: 16px;
}

.fundpop-reward-loading-title-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.fundpop-reward-loading-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fundpop-reward-title {
  color: transparent;
  width: 140px;
  height: 24px;
  border-radius: 30px;
  margin: 0;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

.fundpop-reward-loading-price {
  width: 80px;
  margin-top: 0;
  margin-bottom: 8px;
}

.fundpop-reward-loading-description {
  width: 100%;
  height: 12px;
  color: transparent;
  border-radius: 16px;
  margin: 0 0 8px 0;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

#fundpop-reward-loading-description-block {
  margin-top: 30px;
}

#fundpop-reward-loading-limit-block {
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
}

.fundpop-reward-loading-limit-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 50%;
}

.fundpop-reward-loading-limit-title {
  color: transparent;
  width: 100%;
  height: 12px;
  border-radius: 30px;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

#fundpop-reward-loading-product-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundpop-loading-product-title {
  width: 50%;
  height: 12px;
  color: transparent;
  border-radius: 16px;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

.fundpop-reward-loading-product-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.fundpop-reward-loading-product-item {
  width: 60px;
  height: 60px;
  color: transparent;
  border-radius: 8px;
  background-color: var(--loading-grey);
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%
    )
    var(--loading-grey);
  background-size: 200% 100%;
  background-position-x: 180%;
  animation: 2s loading ease-in-out infinite;
}

#fundpop-loading-time-text {
  font-size: 14px;
  font-weight: 500;
  color: #767676;
  white-space: nowrap;
  line-height: 0px;
  width: 20%;
  height: 12.25px;
  border-radius: 17.5px;
  color: transparent;
}

.fundpop-progress-block {
  padding: 8px 20px;
}

#fundpop-share-block svg {
  cursor: pointer;
}

.fundpop-widget-container .fundpop-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 3px;
  background-color: #dedede;
  z-index: 1;
}

#fundpop-progress-bar__bar {
  display: block !important;
  background-color: #363cd4;
  height: 100%;
  z-index: 2;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#fundpop-milestone-progress-block {
  display: none;
  position: relative;
  padding: 8px 20px;
}

#fundpop-milestone-progress {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 16px;
  border-radius: 16px;
  background-color: #dedede;
  z-index: 1;
}

#campaign-target-progress-bar {
  display: block !important;
  height: 100%;
  background-color: #363cd4;
  z-index: 2;
  flex-shrink: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#extra-reward-progress-bar {
  display: block !important;
  height: 100%;
  z-index: 2;
  flex-shrink: 0;
  background-color: #e4e5e7;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fundpop-milestone-reward-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 2;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.15)) drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.05))
    drop-shadow(0px -1px 2px rgba(0, 0, 0, 0.15));
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: milestoneSlideIn 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes milestoneSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fundpop-milestone-reward-container svg {
  z-index: 2;
}

.fundpop-milestone-reward-container:hover {
  border: 2px solid #252525;
  cursor: pointer;

  &::after {
    display: block;
  }

  .fundpop-reward-image-container {
    visibility: visible;
    transform: translateY(0);
  }
}

.fundpop-milestone-reward-container::after {
  content: "";
  display: none;
  width: 40px;
  height: 76px;
  position: absolute;
  top: -50px;
}

.fundpop-reward-image-container {
  visibility: hidden;
  transform: translateY(10px);
  position: absolute;
  top: -75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, opacity 0.3s;
}

.fundpop-reward-image-container img {
  border-radius: 4px;
  border: 2px solid #252525;
  object-fit: cover;
  width: 60px;
  height: 60px;
  max-width: 60px;
}

.fundpop-reward-tooltip {
  display: none;
  position: absolute;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #202223;
  opacity: var(--size-025, 1);
  box-shadow: 0px 8px 20px -4px rgba(23, 24, 24, 0.12), 0px 3px 6px -3px rgba(23, 24, 24, 0.08);
  z-index: 10;
  text-wrap: nowrap;
}

.fundpop-completed-reward-icon {
  display: none;
}

/* Milestone modal */

#fundpop-milestone-modal-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 99;
  transition: transform 0.3s, opacity 0.3s;
  /* visibility: hidden; */
  transform: translateX(100vw);
  display: none;
}

.fundpop-milestone-modal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  margin: auto;
  max-width: 656px;
  height: fit-content;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 26px 80px 0px rgba(0, 0, 0, 0.2), 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
  color: #202223;
}

.fundpop-milestone-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  justify-content: space-between;
  border-bottom: 1px solid #e1e3e5;
}

.fundpop-modal-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#fundpop-milestone-title {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.fundpop-milestone-status {
  padding: 2px 8px;
  border-radius: 10px;
  background: #ffea8a;

  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.fundpop-milestone-status.milestone-reached {
  background: #aee9d1;
}

#fundpop-modal-close-icon {
  padding: 8px;
  cursor: pointer;
}

#fundpop-modal-close-icon svg {
  margin: auto;
  display: block;
}

.fundpop-milestone-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

.fundpop-milestone-banner {
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0f0f0;
}

.fundpop-milestone-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fundpop-milestone-banner-image {
  display: flex;
  align-items: end;
  margin-top: 22px;
}

.fundpop-milestone-banner-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.fundpop-milestone-banner-detail {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;

  .fundpop-milestone-target-text {
    font-weight: 600;
  }
}

.fundpop-reward-general {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;

  #fundpop-reward-text {
    color: #6d7175;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }

  #fundpop-modal-reward-image {
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s;
  }

  #fundpop-modal-reward-image:hover {
    transform: scale(1.05);
  }

  .fundpop-reward-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;

    #fundpop-modal-reward-title {
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 24px;
    }

    #fundpop-modal-reward-variant-title {
      color: #6d7175;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 20px;
    }

    #fundpop-modal-reward-price {
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 24px;
    }
  }
}

.fundpop-target-text-block {
  width: 100%;
  display: flex;
  padding: 8px 20px;
  line-height: normal;
  align-items: end;
}

.fundpop-target-text-block .fundpop-raised-text {
  color: black;
  font-size: 14px;
  font-weight: 400;
  margin-left: 0;
}

.fundpop-target-text-block .fundpop-target-text {
  color: black;
  font-size: 14px;
  font-weight: 400;
  margin-left: auto;
  margin-right: 0;
}

.fundpop-target-value-block {
  padding: 8px 20px;
  width: 100%;
}

.extra-reward-banner {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}

.banner-text {
  /* width: 100%; */
  border-radius: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 450;
  line-height: 12px;
}

.fundpop-raised-target-container {
  display: flex;
  justify-content: space-between;
  line-height: normal;
  align-items: center;
  font-style: normal;
  gap: 8px;
}

#fundpop-main-currency {
  color: #202223;
  font-size: 24px;
}

#fundpop-converted-currency {
  color: #6d7175;
  font-size: 14px;
  font-weight: 400;
}

.fundpop-funded-block {
  padding: 8px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #767676;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

.fundpop-label-item {
  display: flex;
  flex-direction: row;
  column-gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

#fundpop-countdown-block {
  display: flex;
  padding-top: 8px;
  flex-wrap: wrap;
  column-gap: 2px;
  font-size: 12px;
  justify-content: space-between;
  line-height: normal;
  align-items: baseline;
}

#fundpop-countdown-block.fundpop-countdown-block-ended {
  justify-content: center;
}

.fundpop-widget-footer {
  border-radius: 0 0 8px 8px;
}

#fundpop-time {
  display: flex;
  align-items: baseline;
  flex-direction: row;
  column-gap: 4px;
  flex-wrap: wrap;
}

.fundpop-divider-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0px;
}

.fundpop-divider-line {
  display: block !important;
  border-style: solid;
  border-width: 1px;
  border-color: #e7e7e7;
  height: 1px;
  width: 100%;
}

#fundpop-header-block {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundpop-header-container {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.fundpop-header-share-img {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  min-height: 40px;
}

.fundpop-share-logo {
  padding-top: 7px;
  padding-bottom: 9px;
  padding-right: 4px;
  padding-left: 12px;
  width: 34px;
  height: 34px;
}

#fundpop-time span {
  font-size: 12px;
  font-weight: 400;
  color: black;
}

#fundpop-time-text {
  font-size: 14px;
  font-weight: 500;
  color: #767676;
  white-space: nowrap;
}

.fundpop-spanName {
  color: black;
  font-size: 14px;
  font-weight: 400;
}

.fundpop-campaign-title {
  font-size: 24px;
  line-height: normal;
  color: #363cd5;
  width: 100%;
  margin: 0;
  word-wrap: break-word;
  overflow: hidden;
}

#fundpop-badge-block {
  display: flex !important;
  padding: 12px 20px;
  justify-content: flex-end;
  align-items: center;
  background: #e8e8e8;
  gap: 4px;
  text-decoration: none;
}

#fundpop-badge-text {
  display: block !important;
  color: #202223;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#fundpop-badge-logo {
  display: block !important;
  width: 59px;
  height: 16px;
}

@keyframes loading {
  to {
    background-position-x: -60%;
  }
}

@media screen and (max-width: 370px) {
  .fundpop-funded-block h3 {
    font-size: 14px;
  }

  .fundpop-funded-block p {
    font-size: 14px;
  }

  #fundpop-countdown-block {
    flex-wrap: wrap;
    line-height: 0px;
  }

  .fundpop-loading-help-text h2 {
    font-size: 14px;
  }

  .fundpop-loading-help-text p {
    font-size: 14px;
  }

  .fundpop-loading-lable h3 {
    font-size: 14px;
  }

  .fundpop-loading-lable p {
    font-size: 14px;
  }

  #fundpop-loading-countdown {
    flex-wrap: wrap;
    line-height: 0px;
  }

  .fundpop-loading-help-text h3 {
    font-size: 16px;
    width: 100px;
  }

  .fundpop-loading-lable-item p {
    width: 28px;
  }

  .fundpop-loading-lable-item span {
    width: 60px;
  }

  #fundpop-loading-time-text {
    width: 80px;
  }
}

@media (min-width: 370px) and (max-width: 375px) {
  .fundpop-loading-lable-item span {
    width: 50px;
  }

  #fundpop-loading-time-text {
    width: 80px;
  }
}

@media (max-width: 600px) {
  .fundpop-modal-content {
    width: 340px;
  }

  .fundpop-input-link-product {
    width: 221px;
  }

  .fundpop-modal-title h1 {
    min-width: 244px;
  }
}

@media (min-width: 750px) and (max-width: 810px) {
  .fundpop-loading-lable-item p {
    width: 28px;
  }

  .fundpop-loading-lable-item span {
    width: 60px;
  }

  .fundpop-loading-help-text h3 {
    font-size: 16px;
    width: 60px;
  }

  #fundpop-loading-time-text {
    width: 80px;
  }
}

@media (min-width: 811px) and (max-width: 920px) {
  .fundpop-loading-lable-item p {
    width: 28px;
  }

  .fundpop-loading-lable-item span {
    width: 60px;
  }

  .fundpop-loading-help-text h3 {
    font-size: 16px;
    width: 60px;
  }

  #fundpop-loading-time-text {
    width: 90px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #fundpop-time-text {
    font-size: 14px;
  }

  #fundpop-loading-time-text {
    font-size: 12px;
  }
}

.demo-fundpop-campaign-title {
  color: #2b2b2b;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.demo-fundpop-target-text-block {
  color: #6d7175;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

#demo-fundpop-total {
  color: #202223;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
}

.demo-fundpop-label-item {
  color: #202223;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.demo-fundpop-time-text {
  color: #6d7175;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

#demo-fundpop-span-days {
  color: #202223;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.demo-fundpop-widget-container {
  border-radius: 8px;
}

.demo-fundpop-raised-text {
  margin-left: 0;
}

.demo-fundpop-target-text {
  margin-left: auto;
  margin-right: 0;
}

#fundpop-note-container {
  padding-top: 8px;
  padding-bottom: 16px;
}

#fundpop-note-card {
  padding: 12px;
  border-radius: 8px;
  background: #e1e3e5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;

  /* shadow-card */
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15), 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
}

#fundpop-note-title {
  width: fit-content;
  padding: 2px 15px;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

#fundpop-note-text {
  color: #292929;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

#demo-fundpop-progress-bar__bar {
  display: block !important;
  background-color: #09cbb4;
  height: 100%;
  z-index: 2;
  border-radius: 3px;
  width: 76%;
}

/** Pre order button */
.shopify-payment-button__button {
  font-size: 0px;
}

.shopify-payment-button__button::after {
  display: flex;
  justify-content: center;
  align-items: center;
  content: attr(data-after);
  letter-spacing: 0;
  color: white;
  font-size: 16px;
}

/** Bundles */

/* #fundpop-bundle-title-block {
  font-family: var(--font-heading-family);
  padding: 24px 0px;
  font-size: 24px;
  line-height: 20px;
  word-wrap: break-word;
} */

#fundpop-bundle-block {
  padding: 24px 0px;
}

#fundpop-bundle-container {
  justify-content: center;
}

#fundpop-bundle-container-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.fundpop-bundle-item-container {
  flex-shrink: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  display: flex;
  flex-direction: column;
}

.fundpop-bundle-data-container {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.fundpop-bundle-content-container {
  display: flex;
  flex-direction: column;
}

.fundpop-bundle-label-container {
  margin-bottom: 8px;
}

.fundpop-bundle-label {
  font-weight: 700;
  font-size: clamp(18px, 4vw, 20px);
  line-height: 28px;
  color: #303030;
}

.fundpop-bundle-product-price {
  font-weight: 450;
  font-size: 12px;
  line-height: 18px;
  color: #303030;
}

.fundpop-bundle-discount-price {
  font-weight: 400;
  font-size: clamp(18px, 4vw, 20px);
  line-height: 32px;
  color: #303030;
  text-overflow: ellipsis;
}

.fundpop-bundle-description {
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 20px;
  color: #616161;
  margin-bottom: 24px;
}

.fundpop-bundle-description p {
  margin: 0;
}

.fundpop-bundle-limit-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fundpop-bundle-limit-active {
  margin-bottom: 20px;
}

.fundpop-bundle-quantity-limit,
.fundpop-bundle-time-limit {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fundpop-bundle-limit-label,
.fundpop-bundle-product-label {
  font-size: 12px;
  font-style: normal;
  font-weight: 550;
  line-height: 16px;
  color: #616161;
}

.fundpop-bundle-product-label {
  margin-bottom: 16px;
}

.fundpop-bundle-limit-value {
  font-size: 14px;
  font-style: normal;
  font-weight: 450;
  line-height: 20px;
  color: #303030;
}

.thumbnail-image {
  height: 240px;
  width: 100%;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
}

.fundpop-bundle-product-thumbnail {
  height: 60px;
  width: 60px;
  border-radius: 8px;
  object-fit: contain;
}

.fundpop-bundle-products-container {
  display: flex;
  max-width: 100%;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: clip;
  margin-bottom: 24px;
}

.fundpop-bundle-product-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.fundpop-bundle-product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

.fundpop-bundle-product-label-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fundpop-bundle-product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: 550;
  font-size: 13px;
  line-height: 18px;
}

.fundpop-bundle-price-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fundpop-bundle-original-price {
  font-weight: 450;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 20px;
  text-decoration: line-through;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fundpop-bundle-x {
  display: flex;
  justify-content: center;
  margin: 0 16px;
  color: #4a4a4a;
}

.fundpop-bundle-btn-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  padding-top: 0px;
}

.fundpop-bundle-btn {
  width: 100%;
  background: #7976ab;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  border: 0;
  border-radius: 4px;
  height: 36px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.03);
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.fundpop-bundle-btn:not(:hover) {
  animation: zoomIn 0.3s forwards;
}

.fundpop-bundle-btn:hover {
  animation: zoomOut 0.3s forwards;
}

.fundpop-bundle-item-container-demo {
  position: relative;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
}

.fundpop-bundle-thumbnail {
  border-radius: 8px 8px 0 0;
  height: 240px;
  object-fit: contain;
}

.fundpop-bundle-thumbnail-light {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.fundpop-bundle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
}

.fundpop-bundle-data-item-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.fundpop-bundle-title-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}

.fundpop-bundle-title-light {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  max-width: 240px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.fundpop-bundle-product-name-light {
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

.fundpop-bundle-discount-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.fundpop-bundle-price-light {
  max-width: 90px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  text-decoration: line-through;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.fundpop-bundle-discount-price-light {
  display: flex;
  justify-content: flex-end;
  min-width: 50px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
}

.fundpop-discount-badge {
  font-weight: 550;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  background: #8051ff;
  padding: 2px 8px;
  border-radius: 8px;
  width: max-content;
  white-space: nowrap;
}

.fundpop-bundle-description-light {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#fundpop-bundle-modal-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 99;
  display: none;
  transition: transform 0.3s, opacity 0.3s;
  /* visibility: hidden; */
  transform: translateX(100vw);
}

#fundpop-bundle-modal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  margin: auto;
  max-width: 656px;
  height: fit-content;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 26px 80px 0px rgba(0, 0, 0, 0.2), 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
  color: #202223;
}

.fundpop-bundle-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  justify-content: flex-end;
  border-bottom: 1px solid #e1e3e5;
}

#fundpop-bundle-modal-close-icon {
  display: flex;
  cursor: pointer;
  align-items: center;
}

#fundpop-bundle-close-icon svg {
  margin: auto;
  display: block;
}

.fundpop-bundle-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

.fundpop-bundle-error-general {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;

  .fundpop-bundle-error-text {
    color: #6d7175;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }

  .fundpop-bundle-error-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;

    #fundpop-modal-bundle-error-title {
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 24px;
    }
  }
}

.fundpop-bundle-view-detail-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  gap: 8px;
}

.fundpop-bundle-click-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 14px;
}

.fundpop-bundle-product-item-container {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.fundpop-bundle-product-select {
  display: flex;
  flex-direction: row;
  padding: 6px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 0.66px solid #8a8a8a;
}

.fundpop-bundle-reward-container {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;

  &:hover {
    display: flex;
  }
}

.fundpop-reward-select-container {
  width: max-content;
  transform: translateY(10px);
  position: absolute;
  display: flex;
  gap: 8px;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  align-items: center;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 1000;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.15)) drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.05))
    drop-shadow(0px -1px 2px rgba(0, 0, 0, 0.15));
}

#fundpop-pledge-block {
  display: none;
  padding: 8px 20px;
  background-color: rgb(245, 245, 245);
}

.fundpop-pledge-text {
  color: #6d7175;
  font-size: 14px;
  margin: 0 !important;
}

.fundpop-pledge-modal-button {
  cursor: pointer;
  text-decoration: underline;
}

#fundpop-pledge-modal-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 99;
  display: none;
  transition: transform 0.3s, opacity 0.3s;
  /* visibility: hidden; */
  transform: translateX(100vw);
}

#fundpop-pledge-modal {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  margin: auto;
  max-width: 656px;
  height: fit-content;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 26px 80px 0px rgba(0, 0, 0, 0.2), 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
  color: #202223;
}

.fundpop-pledge-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  justify-content: space-between;
  border-bottom: 1px solid #e1e3e5;
}

.fundpop-pledge-modal-body {
  display: flex;
  padding: 20px;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

#fundpop-pledge-modal-close-icon {
  display: flex;
  cursor: pointer;
  align-items: center;
}

.fundpop-pledge-title {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  color: var(--p-color-text);
}

.fundpop-pledge-text {
  color: #616161;
}

.full-screen-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.full-screen-container.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.full-screen-container img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid white;
  transition: transform 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

#featured-campaign-widget p,
#featured-widget-content p,
#featured-widget-infor p,
#feature-widget-progress-block p,
#featured-widget-time-remaining p,
#featured-widget-wrapper p {
  margin: 0;
}

#featured-campaign-widget {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-campaign-widget-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: #303030;
}

#fundpop-media-card {
  border-radius: 16px;
  border-width: 1px;
  border-color: "#F1F1F1";
  /* border-style: solid; */
  box-shadow: 0px 0.81px 1.63px 0px #00000026, 0px 0px 4.07px 0px #0000000d;
}

#fundpop-media-wrapper {
  display: flex;
  flex-wrap: wrap;
  user-select: none;
  @media (max-width: 768px) {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  #fundpop-media-wrapper {
    flex-direction: column;
  }
}
.featured-campaign-widget-img {
  position: relative;
  flex: 0 0 280px;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.featured-campaign-widget-img img {
  width: 100%;
  height: 100%;
  border-radius: 8px 0 0 8px;
  transition: opacity 0.3s ease-in-out;
}

.slider_image {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 37px;
  height: 22px;
  background-color: #363a41;
  border-radius: 20px;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
}
/* Add navigation arrows for featured widget */
.featured-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #00000080;
  border-radius: 50px;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 1000;
}

.featured-nav-arrow--left {
  left: 16px;
}

.featured-nav-arrow--right {
  right: 16px;
}

/* Show arrows on hover */
.featured-campaign-widget-img:hover .featured-nav-arrow,
.featured-image-container:hover .featured-nav-arrow {
  opacity: 1 !important;
  visibility: visible !important;
}

#featured-widget-content {
  flex: 1;
  min-width: 0;
  padding: 16px 19px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  @media (max-width: 768px) {
    border-radius: 16px;
  }
}

.featured-widget-campaign-name {
  font-weight: 700;
  font-size: 24px;
  color: "#303030";

  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

#featured-widget-infor {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-widget-raised {
  padding-top: 16px;

  > div {
    padding-top: 4px;
  }

  .raised-progress {
    display: flex;
    gap: 4px;
  }

  .raised-progress-first p {
    font-weight: 700;
  }
}

.featured-widget-target {
  padding-top: 16px;

  > div {
    padding-top: 4px;
    font-weight: 700;
  }
}

.featured-widget-target-text {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1130px) {
  .featured-widget-target-text {
    justify-content: flex-start;
  }

  .featured-widget-target {
    text-align: left;
  }
}
#feature-widget-progress-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 16px;
  z-index: 1;
  padding-top: 8px;
}

.feature-widget-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
  border-radius: 16px 0 0 16px;
  width: 68%;
}

#featured-widget-time-remaining {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#featured-widget-quanity {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 999px) {
  #featured-widget-quanity {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: var(--p-space-400);
    padding: 0;
    flex: none;
  }

  #featured-widget-quanity > * {
    width: 100%;
  }
}

#featured-widget-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.featured-widget-card {
  background-color: #ebebeb;
  border-radius: 12px;
  width: 146px;
  height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 8px;
  flex: 1;
  min-width: 100px;
  min-height: 68px;
}

@media (max-width: 999px) {
  .featured-widget-card {
    padding: 0;
    flex: none;
  }
}

/* Collection Campaign Widget */

#campaign-collection-widget p,
.card-text-quantity-funded p,
.collection-time-remaining p {
  margin: 0;
}

#collection-campaign-box {
  user-select: none;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 310px);
  gap: 20px;
  max-width: 1105px;
  align-items: stretch;
  justify-content: flex-start;
}

.fundpop-campaign-collection-widget-card {
  flex: 1 1 310px;
  max-width: 310px;
  box-sizing: border-box;
  height: 100%;
}
.collection-card-wrapper.rounded-md {
  padding: 0;
  height: 100%;
}

.cart_content {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  height: 100%;

  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart_content > div:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  #collection-campaign-box {
    gap: 12px;
  }

  .fundpop-campaign-collection-widget-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .button-support {
    padding: 8px 32px;
  }
}

#campaign-collection-widget {
  display: flex;
  flex-direction: column;
}

.campaign-collection-widget-tittle {
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
  color: #303030;
  line-height: 1.2;
}

.collection-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 310px;
  height: 100%;

  padding: 16px;
  border-radius: 4px;
  border: 1px solid #f1f1f1;
  box-shadow: 0px 1px 2px 0px #00000026, 0px 0px 5px 0px #0000000d;
}

@media (min-width: 480px) {
  .collection-card-wrapper {
    padding: 20px;
  }
}

@media (min-width: 640px) {
  .collection-card-wrapper.rounded-sm {
    border-radius: 8px;
  }

  .collection-card-wrapper.rounded-md {
    border-radius: 12px;
  }

  .collection-card-wrapper.rounded-lg {
    border-radius: 16px;
  }

  .collection-card-wrapper.rounded-xl {
    border-radius: 20px;
  }
}

.card-image {
  width: 100%;
  margin: 0;
}

.card-image {
  position: relative;
  flex: 0 0 280px;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.collection-item-widget-image {
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  height: 352px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.slider_image_collection {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 37px;
  height: 22px;
  background-color: #363a41;
  border-radius: 20px;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
}

.collection-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #00000080;
  border-radius: 50px;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 1000; /* Add high z-index */
}

.collection-nav-arrow--left {
  left: 16px;
}

.collection-nav-arrow--right {
  right: 16px;
}

/* Show arrows on hover - update selector */
.card-image:hover .collection-nav-arrow,
.collection-image-container:hover .collection-nav-arrow {
  opacity: 1 !important;
  visibility: visible !important;
}

.card-name {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.2px;
  line-height: 1.3;
  color: #303030;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;

  cursor: default;
}

.bottom-section {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}

.card-funed {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}

.card-text-quantity-funded {
  display: flex;
  gap: 4px;
  font-size: 16px;
  line-height: 20px;
  flex-wrap: wrap;
}

.quantity-first {
  font-weight: 650;
}

.quantity-second {
  font-weight: 650;
}

.card-progress {
  font-size: 16px;
  line-height: 24px;
  color: #616161;
}

.collection-time-remaining {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 20px;
  color: #616161;
  padding-top: 16px;
}

.collection-time-remaining p {
  margin: 0;
}

.button-card {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-top: 16px;
}

.button-support {
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  height: 40px;
  width: 320px;
}

#collection-widget-progress-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  width: 100%;
  height: 16px;
  border-radius: 16px;
  z-index: 1;
  margin-top: 16px;
}

.collection-widget-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
  border-radius: 16px 0 0 16px;
}

/* Pagination */
.fundpop-pagination-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 43px;
  margin: 0 4px;
  background-color: #b5b5b5;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.fundpop-pagination-dot.active {
  width: 20px;
  background-color: #4a4a4a;
}

/* Modal Select Product Styles */

/* Modal wrapper */
.fundpop-widget-modal {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  transition: visibility 0s linear 0.3s;
}

.fundpop-widget-modal.fundpop-widget-modal-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* Modal overlay */
.fundpop-widget-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Modal overlay when open */
.fundpop-widget-modal.fundpop-widget-modal-open .fundpop-widget-modal-overlay {
  opacity: 0.7;
}

/* Modal container */
.fundpop-widget-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(100vw);
  width: 560px;
  height: 614px;
  background-color: #ffffff;
  border-radius: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Modal container when open */
.fundpop-widget-modal.fundpop-widget-modal-open .fundpop-widget-modal-container {
  transform: translate(-50%, -50%) translateX(0);
}

/* Modal content wrapper */
.fundpop-widget-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* Modal close button */
.fundpop-widget-modal-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.fundpop-widget-modal-close:hover {
  background-color: #f0f0f0;
}

/* Modal body */
.fundpop-widget-modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  .fundpop-widget-modal-container {
    width: 90%;
    height: 90%;
    max-width: 560px;
    max-height: 614px;
  }
}

/* Product Selection Modal Styles */
.fundpop-widget-modal-header {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fundpop-widget-modal-title {
  font-size: 18px;
  font-weight: 650;
  color: #333;
  margin: 0;
}

.fundpop-widget-modal-search-container {
  position: relative;
  padding: 16px;
}

.fundpop-widget-modal-search {
  width: 100%;
  padding: 8px 16px 8px 44px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.fundpop-widget-modal-search:focus {
  border-color: #007bff;
}

.fundpop-widget-modal-search-icon {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  width: 20px;
  height: 20px;
}

.fundpop-widget-modal-products-list {
  overflow-y: auto;
  border-radius: 8px;
  padding: 0 16px 16px;
}

.fundpop-widget-modal-product-item {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background-color: #ffffff;
  border-radius: 8px;
}

.fundpop-widget-modal-product-item.fundpop-widget-modal-product-item-selected {
  border: 1px solid #1a1a1a;
}

.fundpop-widget-modal-product-item:hover {
  background-color: #f7f7f7;
}

.fundpop-widget-modal-product-image {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: contain;
  margin-right: 16px;
  flex-shrink: 0;
}

.fundpop-widget-modal-product-info {
  flex: 1;
}

.fundpop-widget-modal-product-title {
  font-size: 16px;
  font-weight: 650;
  color: #333;
  margin: 0 0 4px 0;
}

.fundpop-widget-modal-product-price {
  font-size: 16px;
  font-weight: 450;
  color: #666;
  margin: 0;
}

.fundpop-widget-modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 120px;
}

.fundpop-widget-modal-btn-cancel {
  background-color: #ffffff;
  color: #666;
  margin-right: 12px;
}

.fundpop-widget-modal-btn-cancel:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.fundpop-widget-modal-btn-support {
  background-color: #8b5cf6;
  color: #ffffff;
}

.fundpop-widget-modal-btn-support:disabled {
  background-color: #8b5cf6;
  color: #ffffff;
  opacity: 0.5;
  cursor: not-allowed;
}

.fundpop-widget-modal-btn-support:hover {
  background-color: #7c3aed;
}

.fundpop-widget-modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 550;
}

.fundpop-bundle-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  align-items: center;
  width: 100%;
}

.fundpop-bundle-details-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: fit-content;
}

.fundpop-bundle-details-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}

.fundpop-bundle-actions .fundpop-bundle-btn {
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  height: auto;
  line-height: 1.5;
}

/* Smooth number transitions */
.fundpop-animated-text {
  transition: opacity 0.3s ease-in-out;
}

.fundpop-animated-text.updating {
  opacity: 0.6;
}

/* Fade-in animation for progress updates */
@keyframes fadeInUp {
  from {
    opacity: 0.7;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fundpop-progress-updating {
  animation: fadeInUp 0.6s ease-out;
}
