/* TMH · 购物车报价提示条
   跟着 cart 页一起加载（inc/tmh-quote-cart.php 里 enqueue）。
   米白 / 黄铜，与 .tc 版面同一套语言。
   结构：eyebrow（编号）+ 标题 + 实心呼吸小球打头的要点列表。 */

.tmh-qc-banner {
  display: block;
  margin: 0 0 22px;
  padding: 18px 22px 18px 22px;
  border-radius: 10px;
  border: 1px solid #e3d8c2;
  border-left: 3px solid #9a7b3f;
  background: #fbf8f1;
  color: #2b2620;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

.tmh-qc-banner.tmh-qc-bad {
  border-color: #ead5cf;
  border-left-color: #b5544a;
  background: #fdf4f2;
}

/* 编号 + 标题 */
.tmh-qc-head {
  display: block;
  margin: 0 0 12px;
}

.tmh-qc-eye {
  display: block;
  font-family: var(--sans, "Inter", Helvetica, Arial, sans-serif);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a7b3f;
  margin: 0 0 6px;
}

.tmh-qc-k {
  display: block;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: #2b2620;
}

.tmh-qc-good .tmh-qc-k {
  color: #7d6129;
}

.tmh-qc-bad .tmh-qc-k {
  color: #8f3a32;
}

/* 要点列表 */
.tmh-qc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.tmh-qc-p {
  position: relative;
  margin: 0;
  padding: 5px 0 5px 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a4238;
}

.tmh-qc-p + .tmh-qc-p {
  margin-top: 2px;
}

.tmh-qc-p b {
  font-weight: 500;
  color: #2b2620;
}

/* 实心小球 + 呼吸圈 */
.tmh-qc-dot {
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a7b3f;
  animation: tmhQcBreathe 2.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.tmh-qc-p:nth-child(2) .tmh-qc-dot { animation-delay: 0.35s; }
.tmh-qc-p:nth-child(3) .tmh-qc-dot { animation-delay: 0.7s; }
.tmh-qc-p:nth-child(4) .tmh-qc-dot { animation-delay: 1.05s; }
.tmh-qc-p:nth-child(5) .tmh-qc-dot { animation-delay: 1.4s; }
.tmh-qc-p:nth-child(6) .tmh-qc-dot { animation-delay: 1.75s; }

@keyframes tmhQcBreathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(154, 123, 63, 0.38);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(154, 123, 63, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmh-qc-dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(154, 123, 63, 0.14);
  }
}

/* 失败态：标题下的一段说明 */
.tmh-qc-t {
  display: block;
  color: #5f564a;
  font-size: 13.5px;
}

.tmh-qc-t b {
  font-weight: 500;
  color: #2b2620;
}

.tmh-qc-link {
  color: #8a6b33;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.tmh-qc-link:hover {
  color: #6d5223;
}

.tmh-qc-a {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 18px;
  border: 1px solid #b5544a;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8f3a32;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.tmh-qc-a:hover {
  background: #b5544a;
  color: #fff;
}

/* 空车页里提示条也在 .tc-empty 之上，收一点高度 */
body.woocommerce-cart .tmh-qc-banner + .tc-empty,
body.woocommerce-cart .tmh-qc-banner + div {
  margin-top: 0;
}

@media (max-width: 720px) {
  .tmh-qc-banner {
    padding: 15px 16px 15px 17px;
  }

  .tmh-qc-k {
    font-size: 18px;
  }

  .tmh-qc-p {
    padding-left: 18px;
    font-size: 13px;
  }

  .tmh-qc-dot {
    left: 2px;
    top: 12px;
    width: 5px;
    height: 5px;
  }
}
