/* ============================================================
 * huaxia-shop-promo-v3.css · 2026 秋季活动共用样式
 *   2026-09-17 上线
 *   用途：
 *     1. 商品卡片角标 .hx-promo-badge（all-v3 / cat-v3 / search-v3 共用）
 *     2. 详情页底部提示 .pd-promo-notice（detail-v3 用）
 *   引用方：
 *     - /shop/huaxia-shop-all-v3/huaxia-shop-all-v3.php
 *     - /shop/huaxia-shop-cat-v3/huaxia-shop-cat-v3.php
 *     - /shop/huaxia-shop-search-v3/huaxia-shop-search-v3.php
 *     - /shop/huaxia-shop-detail-v3/huaxia-shop-detail-v3.php
 * ============================================================ */

/* ============== 商品卡片角标 ============== */
.hx-promo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.35);
  z-index: 2;
  pointer-events: auto;
  white-space: nowrap;
  line-height: 1.2;
}
.tb-card .img {
  position: relative;
}
.tb-card .img .hx-promo-badge:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* ============== 详情页底部活动提示 ============== */
.pd-promo-notice {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 18px;
}
.pd-promo-notice-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(90deg, #fef9c3 0%, #fef3c7 100%);
  border: 2px solid #e5b939;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 4px 12px rgba(229, 185, 57, 0.15);
}
.pd-promo-notice-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.pd-promo-notice-text {
  flex: 1;
  min-width: 0;
}
.pd-promo-notice-text strong {
  display: block;
  font-size: 15px;
  color: #b91c1c;
  font-weight: 700;
  margin-bottom: 4px;
}
.pd-promo-notice-text p {
  font-size: 13px;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}
.pd-promo-notice-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  padding: 9px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pd-promo-notice-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
}
@media (max-width: 600px) {
  .pd-promo-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .pd-promo-notice-btn {
    align-self: stretch;
    text-align: center;
  }
}