/* China Furniture guide (21 Sep 2026): seller cards, cost stack, blog card grid on the qc/ct/fg primitives. */
.sf-page--cn .sf-cf-hero-note { max-width: 300px; }

/* Seller / route cards */
.sf-cn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#routes .sf-cn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-cn-card { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1.5px dashed #d5cec5; border-radius: 18px; background: #fffdf9; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.sf-cn-card:hover { transform: translateY(-4px) rotate(-.3deg); border-color: #c8102e; box-shadow: 0 24px 46px -36px rgba(31,35,40,.5); }
.sf-cn-card > svg { width: 100%; height: 110px; margin-bottom: 12px; }
.sf-cn-card em { display: block; margin-bottom: 4px; color: #c8102e; font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-cn-card b { display: block; margin-bottom: 8px; font: 800 18px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; color: #1f2328; }
.sf-cn-card p { margin: 0 0 12px; color: #3d4247; font-size: 14px; line-height: 1.55; }
.sf-cn-card > div > span { display: block; margin-top: auto; padding: 12px 14px; border-radius: 10px; background: #fbe9ec; color: #6f0f1f; font-size: 13px; line-height: 1.5; }
.sf-cn-card > div > span b { display: inline; margin: 0; font: 800 11px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #c8102e; }
.sf-cn-card > div > span a { color: #c8102e; }
.sf-cn-card > div { display: flex; flex: 1; flex-direction: column; }
.sf-qc-band--warm .sf-cn-card { background: #fff; }

/* Cost stack */
.sf-cn-stack { display: grid; gap: 8px; margin: 8px 0 28px; }
.sf-cn-stack > div { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 12px 16px; border: 1px solid #e9e4dd; border-radius: 12px; background: #fff; }
.sf-cn-stack > div.is-total { background: #1f2328; color: #fff; border-color: #1f2328; }
.sf-cn-stack__label b { display: block; font: 800 14.5px/1.25 "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }
.sf-cn-stack__label small { display: block; margin-top: 3px; color: #858a90; font-size: 12px; line-height: 1.4; }
.is-total .sf-cn-stack__label small { color: #b9bec3; }
.sf-cn-stack__bar { display: block; height: 22px; border-radius: 6px; background: #f3efe9; overflow: hidden; }
.is-total .sf-cn-stack__bar { background: #3b3f44; }
.sf-cn-stack__bar i { display: block; height: 100%; width: calc(var(--w) * 0.7); max-width: 100%; background: var(--c, #c8102e); border-radius: 6px; transform-origin: left; animation: sf-cn-grow 1.1s cubic-bezier(.22,.61,.36,1) both; }
@keyframes sf-cn-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .sf-cn-stack__bar i { animation: none; } }
.sf-cn-stack__val { text-align: right; font: 800 15px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.is-total .sf-cn-stack__val { color: #9fd8b5; }

/* Blog cards inside a warm band (blog.css is not enqueued here) */
.sf-page--cn .sf-blog-grid { display: grid; gap: 22px 18px; }
.sf-page--cn .sf-blog-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-page--cn .sf-blog-card { display: flex; flex-direction: column; min-width: 0; border-radius: 16px; background: #fff; border: 1px solid #e9e4dd; overflow: hidden; }
.sf-page--cn .sf-blog-card__media { display: block; overflow: hidden; background: #e7e6e2; aspect-ratio: 16 / 10; }
.sf-page--cn .sf-blog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-page--cn .sf-blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.sf-page--cn .sf-blog-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; color: #858a90; font-size: 12.5px; }
.sf-page--cn .sf-blog-card__meta a { color: #c8102e; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.sf-page--cn .sf-blog-card h3 { margin: 0 0 8px; font: 800 18px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.sf-page--cn .sf-blog-card h3 a { color: #1f2328; }
.sf-page--cn .sf-blog-card__excerpt { margin: 0; color: #5f6368; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sf-page--cn .sf-blog-card__more { margin-top: auto; padding-top: 12px; color: #c8102e; font-size: 13.5px; font-weight: 700; }
.sf-page--cn #field-notes .sf-qc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

@media (max-width: 1024px) {
  .sf-cn-cards, #routes .sf-cn-cards, .sf-page--cn .sf-blog-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-cn-stack > div { grid-template-columns: minmax(0, 1fr) 120px; }
  .sf-cn-stack__bar { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 820px) {
  .sf-cn-cards, #routes .sf-cn-cards, .sf-page--cn .sf-blog-grid--3 { grid-template-columns: 1fr; }
  .sf-cn-card > svg { height: 90px; }
  .sf-cn-stack > div { padding: 12px 14px; }
  .sf-cn-stack__val { font-size: 14px; }
  .sf-page--cn #field-notes .sf-qc-head { flex-direction: column; align-items: flex-start; }
}
