/* クーポンバナー ホバー効果 */
.productMedia__couponbanner {
  cursor: pointer;
  margin-top: 6px;
}

/* コピー完了モーダル */
.coupon-copy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.coupon-copy-modal__content {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInOut 2s ease-in-out;
}

.coupon-copy-modal__text {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  15% {
    opacity: 1;
    transform: translateY(0);
  }

  85% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .coupon-copy-modal__content {
    padding: 16px 32px;
  }

  .coupon-copy-modal__text {
    font-size: 14px;
  }
}