/* 全体ボックス */
.fs-sale-countdown {
  background: linear-gradient(135deg, #fff5f5, #ffeaea);
  border: 2px solid #e60012;
  padding: 18px;
  text-align: center;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(230, 0, 18, 0.15);
}

/* タイトル */
.fs-sale-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

/* 「〇〇まで」の強調 */
.fs-sale-label {
  color: #e60012;
}

/* カウントダウン本体（横並び固定） */
.fs-sale-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* 折り返し防止 */
  gap: 8px;
  margin-bottom: 8px;
}

/* 数字＋単位のブロック */
.fs-sale-timer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e60012;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 20px;
  min-width: 48px;
  white-space: nowrap; /* 改行防止 */
  font-weight: bold;
}

/* 備考 */
.fs-sale-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

/* ===== 残り24時間で点滅 ===== */
.fs-sale-countdown.fs-sale-urgent {
  animation: fsSaleBlinkBox 1s infinite;
}

.fs-sale-countdown.fs-sale-urgent .fs-sale-timer span {
  animation: fsSaleBlinkNumber 1s infinite;
}

/* 背景点滅 */
@keyframes fsSaleBlinkBox {
  0%, 100% {
    background: #fff5f5;
  }
  50% {
    background: #ffe0e0;
  }
}

/* 数字点滅 */
@keyframes fsSaleBlinkNumber {
  0%, 100% {
    background: #e60012;
  }
  50% {
    background: #ff4b4b;
  }
}

/* ===== スマホ最適化（重要） ===== */
@media screen and (max-width: 480px) {
  .fs-sale-timer {
    gap: 4px;
  }

  .fs-sale-timer span {
    font-size: 16px;
    padding: 5px 6px;
    min-width: 40px;
  }
}