/* WALA Product Card - 单品模板 (基于 Falcon 风格) */
.wala-product-card {
  --walac-bg: #fafafa;
  --walac-card: #ffffff;
  --walac-line: #e5e7eb;
  --walac-text: #111827;
  --walac-muted: #6b7280;
  --walac-soft: #9ca3af;
  --walac-accent: #ef4444;
  --walac-navy: #1f2937;
  --walac-radius: 16px;
  --walac-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  background: var(--walac-card);
  border: 1px solid var(--walac-line);
  border-radius: var(--walac-radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--walac-text);
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto;
}
.wala-product-card *,
.wala-product-card *::before,
.wala-product-card *::after { box-sizing: border-box; }
.wala-product-card a { color: inherit; text-decoration: none; }

/* === 左侧 Hero 图 === */
.walac-hero {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 400px);
  max-height: 400px;
  margin-left: auto;
  margin-right: auto;
  background: #0f172a;
  overflow: hidden;
  display: block;
}
.walac-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.walac-hero-fallback {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.03em;
  color: rgba(17, 24, 39, .12);
  text-align: center;
  padding: 24px;
  line-height: 1;
}
.walac-hero-fallback small {
  display: block;
  font-size: 14px;
  color: var(--walac-muted);
  letter-spacing: .15em;
  margin-top: 8px;
  font-weight: 700;
}

/* 角标 */
.walac-badge {
  position: absolute;
  top: 16px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.walac-badge.best {
  left: 16px;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #fff;
}
.walac-badge.discount {
  right: 16px;
  background: #f59e0b;
  color: #fff;
}
.walac-badge-new {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(17, 24, 39, .75);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  z-index: 2;
  backdrop-filter: blur(8px);
}

/* === 右侧信息区 === */
.walac-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.walac-info h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--walac-text);
}
.walac-desc {
  color: var(--walac-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* 评分 */
.walac-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--walac-text);
}
.walac-stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 16px;
}
.walac-rating-num { color: var(--walac-text); }
.walac-rating-count { color: var(--walac-muted); font-weight: 500; font-size: 13px; }

/* 规格 2×2 */
.walac-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.walac-spec {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--walac-bg);
  border: 1px solid var(--walac-line);
  border-radius: 12px;
  min-height: 56px;
}
.walac-spec svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--walac-muted);
  margin-top: 2px;
}
.walac-spec-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.walac-spec-label {
  font-size: 11px;
  color: var(--walac-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.walac-spec-value {
  font-size: 14px;
  color: var(--walac-text);
  font-weight: 700;
  line-height: 1.25;
}

/* 价格 + CTA */
.walac-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  flex-wrap: wrap;
}
.walac-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--walac-accent);
  font-family: "Montserrat", system-ui, sans-serif;
}
.walac-price-amount {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.walac-price-suffix {
  font-size: 13px;
  color: var(--walac-muted);
  font-weight: 500;
}
.walac-price del {
  font-size: 14px;
  color: var(--walac-soft);
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 6px;
  font-family: "Inter", system-ui, sans-serif;
}
.walac-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #dd3333;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.walac-cta:hover {
  background: #c62828;
  color: #fff !important;
  transform: translateY(-1px);
}
.walac-cta svg {
  width: 16px;
  height: 16px;
}

/* === 响应式 === */
@media (max-width: 768px) {
  .wala-product-card { grid-template-columns: 1fr; }
  .walac-hero {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: none;
    max-height: none;
    margin-left: 0;
    margin-right: 0;
  }
  .walac-hero img {
    object-fit: cover;
    object-position: center center;
  }
  .walac-info { padding: 24px 20px; text-align: center; align-items: center; }
  .walac-price-amount { font-size: 26px; }
  .walac-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    text-align: center;
    gap: 10px;
  }
  .walac-price { justify-content: center; width: 100%; text-align: center; }
  .walac-cta { justify-content: center; align-self: center; margin: 0 auto; width: fit-content; }
}