.pdbottom {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 10px;
  min-height: 63px;
  flex-direction: column;
  border-top: 2px dashed #ccc;
}

.couponName {
  font-size: 14px;
  color: white;

  margin-top: 4px;
  min-height: 20px;
}

.cta {
  font-size: 16px;
  background-color: #f3213a;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.cta.claimed {
  background-color: gray;
  cursor: not-allowed;
  color: #2b2b2b;
}

.cta-no-coupon {
  background-color: #f36b07;
  color: white !important;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.cta-no-coupon:hover {
  color: white !important;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none; /* 預設隱藏 */
}

.overlay-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.67);
  box-shadow: 0 12px 24px 0 rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: 8px;
  gap: 16px;
}

.loading-spinner {
  border: 10px solid rgba(255, 255, 255, 0.5);
  border-top: 10px solid #ff9709;

  border-radius: 50%;
  width: 88px;
  height: 88px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.lock-scroll {
  overflow: hidden;
}
.bg08 .pdlayout {
  background-color: #84781e;
}
.bg08 .pd {
  width: calc(1240px / 4 - 13px);
  margin: 4px;
  overflow: hidden;
  text-align: center;
  border-color: #84781e;
  border-style: solid;
  border-width: 7px;
  background-color: #000;
  border-radius: 15px;
}

.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog-overlay.show {
  display: flex;
}

.dialog-box {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

.dialog-content p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.dialog-content .button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dialog-content .success {
  background-color: green;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 18px;
}

.dialog-content .normal {
  background-color: rgb(189, 189, 189);
  color: rgb(255, 255, 255);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .bg08 .pd {
    width: calc(100% / 2 - 1.5vw);
    margin: 0.7vw;
  }
}

.pd .imgbox {
  height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pd .imgbox img {
  max-width: 100%;
  height: auto !important;
}
