/* 基礎樣式 - 產品促銷卡片 */

.aimarker-product-promo-shortcode {
    width: 100%;
    max-width: 22%;
    display: inline-block;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px;
    box-shadow: 0 0 2px #adadad54;
    transition: .3s;
}

.aimarker-product-promo-shortcode:hover {
    box-shadow: 0px 0px 9px #818181;
}
@media (max-width: 1200px) {
    .aimarker-product-promo-shortcode {
        max-width: calc(50% - 33px);
        display:inline-block;
        margin: 15px;
    }
}
@media (max-width: 768px) {
    .aimarker-product-promo-shortcode {
        max-width: calc(50% - 33px);
        display:inline-block;
        margin: 15px;
    }
}
@media (max-width: 640px) {
    .aimarker-product-promo-shortcode {
        max-width: 90%;
        display:block;
        margin: 15px auto;
    }
}
.aimarker-product-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    font-size: 15px;
    line-height: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    max-width: 320px;
    margin: 0 auto 15px;
    overflow: hidden;
    transition: .3s;
}

.aimarker-product-promo:hover {
    box-shadow: 0 2px 3px 0 rgb(0 0 0 / 42%);
}


.aimarker-product-promo-head {
    width: 100%;
}

.aimarker-product-promo-inner {
    padding: 1rem;
    width: 100%;
}

/* 標題樣式 */
.aimarker-product-promo-title {
    font-size: 1.125rem;
    line-height: 2rem;
    font-weight: 600;
    color: #ffffff;
    background: #0d6efd;
    margin-bottom: 0;
    width: 100%;
}

/* 價格樣式 */
.aimarker-product-promo-price {
    font-size: 1.275rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #fff;
    background: #4f46e5;
    padding: .2rem;
    margin: 0;
    width: 100%;
}
/* 按鈕樣式 */
.aimarker-product-promo-button {
  padding: 0.5rem 1rem;
  background-color: #0d6efd;
  color: white;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: background-color 200ms;
  border: none;
  cursor: pointer;
  width: 80%;
  max-width: 200px;
}

.aimarker-product-promo-button:hover {
  background-color: #0d6efd;
}

/* 響應式調整 */
@media (max-width: 640px) {
  .aimarker-product-promo-title {
    font-size: 1rem;
  }
  
  .aimarker-product-promo-price {
    font-size: 1.5rem;
  }
  
  .aimarker-product-promo-button {
    width: 90%; /* 在小屏幕上按鈕更寬 */
    padding: 0.4rem 0.8rem;
  }
}


.proceeding-to-payment {
    pointer-events: none !important; /* 防止重复点击 */
}

.proceeding-to-payment::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.checked-list ul{
  list-style: none;
  padding-left: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.checked-list ul li {
  position: relative;
  margin-bottom: 10px;
}

.checked-list li:before {
  content: "";
  display: inline-block;
  margin-right: 5px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

