/* Static category landing pages (categories/*.html).
   Light catalog theme to match the homepage product section; kept separate
   from style.css so the homepage does not download it. */
body.cg {
  margin: 0;
  background: var(--cream-deep, #ebe6dc);
  color: var(--ink, #0d0f12);
  line-height: 1.7;
  font-family: var(--font-body, "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.cg-wrap { max-width: 1240px; margin: 0 auto; padding: 0 26px; }
.cg a { text-decoration: none; }

/* ---- header ---- */
.cg-head { background: var(--ink, #0d0f12); border-bottom: 1px solid rgba(255,255,255,.10); }
.cg-head .cg-wrap { display: flex; align-items: center; justify-content: space-between;
                    gap: 20px; min-height: 82px; flex-wrap: wrap; }
.cg-head img { height: 38px; width: auto; display: block; }
.cg-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
          font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.cg-nav a { color: #a8a49c; }
.cg-nav a:hover { color: var(--gold-light, #e3c98f); }
.cg-langs { display: flex; align-items: center; gap: 5px; padding-left: 16px;
            border-left: 1px solid rgba(255,255,255,.14); }
.cg .lang-btn { background: transparent; border: 0; color: #a8a49c; cursor: pointer;
                font: inherit; letter-spacing: .04em; padding: 4px 6px; }
.cg .lang-btn:hover { color: #eceae5; }
.cg .lang-btn.is-active { color: var(--gold-light, #e3c98f); }
.cg-sep { color: #4a4d50; }

/* ---- hero ---- */
.cg-main { padding-bottom: 84px; }
.cg-crumb { padding: 26px 0 0; font-size: 12px; color: var(--text-muted, #6b6e73); }
.cg-crumb a { color: var(--text-muted, #6b6e73); }
.cg-crumb a:hover { color: var(--gold-dark, #a88645); }
.cg-hero { padding: 30px 0 42px; border-bottom: 1px solid var(--line, rgba(13,15,18,.14)); }
.cg-kicker { margin: 0 0 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
             color: var(--gold-dark, #a88645); }
.cg h1 { font-family: var(--font-display, Georgia, serif); font-weight: 500;
         font-size: clamp(32px, 4.6vw, 54px); line-height: 1.14; margin: 0 0 18px; }
.cg-lead { max-width: 820px; font-size: 16px; color: var(--text-muted, #6b6e73); margin: 0 0 14px; }
.cg-count { font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
            color: var(--gold-dark, #a88645); margin: 0; }

/* ---- GEO direct answer + question blocks ---- */
.cg-answer { margin: 34px 0 0; padding: 26px 30px; background: var(--white, #fff);
             border: 1px solid var(--line, rgba(13,15,18,.14));
             border-left: 3px solid var(--gold, #c8a45c); }
.cg-answer h2 { font-family: var(--font-display, Georgia, serif); font-weight: 500;
                font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; margin: 0 0 12px; }
.cg-answer-text { font-size: 14.5px; line-height: 1.85; color: #3c4045; margin: 0; max-width: 1000px; }
.cg-qa { margin: 42px 0 0; }
.cg-qa > h2 { font-family: var(--font-display, Georgia, serif); font-weight: 500;
              font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 8px; }
.cg-qa-item { padding: 18px 0; border-bottom: 1px solid var(--line, rgba(13,15,18,.14)); }
.cg-qa-item h3 { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0 0 8px; }
.cg-qa-a { font-size: 13.5px; line-height: 1.8; color: var(--text-muted, #6b6e73);
           margin: 0; max-width: 980px; }

/* ---- product grid ---- */
.cg-list { padding-top: 46px; }
.cg-list-head { display: flex; align-items: baseline; justify-content: space-between;
                gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cg-list-head h2, .cg-cats h2, .cg-cta h2 {
  font-family: var(--font-display, Georgia, serif); font-weight: 500;
  font-size: clamp(23px, 2.6vw, 30px); margin: 0;
}
.cg-note { font-size: 12.5px; color: var(--text-muted, #6b6e73); margin: 0; }
.cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cg-card { display: flex; flex-direction: column; min-width: 0; background: var(--white, #fff);
           border: 1px solid var(--line, rgba(13,15,18,.14)); color: inherit;
           transition: transform .35s var(--ease, ease), border-color .35s ease,
                       box-shadow .35s ease; }
.cg-card:hover { transform: translateY(-5px); border-color: var(--gold, #c8a45c);
                 box-shadow: 0 20px 44px rgba(13,15,18,.11); }
.cg-thumb { position: relative; height: 230px; background: #fff; overflow: hidden; }
.cg-thumb img { position: absolute; top: 50%; left: 50%;
                transform: translate(-50%, -50%); max-width: calc(100% - 30px);
                max-height: calc(100% - 20px); width: auto; height: auto; object-fit: contain; }
.cg-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 22px 24px 26px; }
.cg-model { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
            color: var(--gold-dark, #a88645); margin-bottom: 10px; }
.cg-body h3 { font-family: var(--font-display, Georgia, serif); font-weight: 500;
              font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.cg-sum { font-size: 13px; line-height: 1.75; color: var(--text-muted, #6b6e73);
          margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3;
          -webkit-box-orient: vertical; overflow: hidden; }
.cg-specs { list-style: none; margin: 0 0 20px; padding: 0;
            border-top: 1px solid var(--line, rgba(13,15,18,.14)); padding-top: 12px; }
.cg-specs li { font-size: 12px; line-height: 1.6; color: #4a4d50; margin: 0 0 5px;
               white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-more { margin-top: auto; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
           color: var(--gold-dark, #a88645); }

/* ---- other categories ---- */
.cg-cats { margin-top: 70px; padding-top: 38px; border-top: 1px solid var(--line, rgba(13,15,18,.14)); }
.cg-cats h2 { margin-bottom: 20px; }
.cg-siblings { display: flex; flex-wrap: wrap; gap: 10px; }
.cg-sibling { display: inline-block; padding: 11px 16px; font-size: 12px;
              border: 1px solid var(--line, rgba(13,15,18,.14));
              background: var(--white, #fff); color: var(--ink, #0d0f12); }
.cg-sibling:hover { border-color: var(--gold, #c8a45c); color: var(--gold-dark, #a88645); }
.cg-sibling.is-current { background: var(--ink, #0d0f12); border-color: var(--ink, #0d0f12);
                         color: var(--cream, #f5f2ec); }

/* ---- OEM / ODM CTA ---- */
.cg-cta { margin-top: 70px; padding: 46px 48px; background: var(--ink-soft, #14171c);
          color: var(--cream, #f5f2ec); display: grid;
          grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: center; }
.cg-cta h2 { color: var(--cream, #f5f2ec); margin-bottom: 14px; }
.cg-cta-lead { font-size: 14px; line-height: 1.85; color: var(--text-on-dark-muted, #8c8f93);
               max-width: 760px; margin: 0; }
.cg-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cg-btn { display: inline-block; padding: 13px 22px; font-size: 11.5px; letter-spacing: .1em;
          text-transform: uppercase; background: var(--gold, #c8a45c); color: #0d0f12; }
.cg-btn:hover { background: var(--gold-light, #e3c98f); }
.cg-btn-ghost { background: transparent; color: var(--cream, #f5f2ec);
                border: 1px solid rgba(255,255,255,.25); }
.cg-btn-ghost:hover { background: rgba(255,255,255,.07); }
.cg-contact { grid-column: 1 / -1; margin: 0; padding-top: 20px;
              border-top: 1px solid rgba(255,255,255,.12);
              font-size: 12.5px; color: var(--text-on-dark-muted, #8c8f93); }

/* ---- footer ---- */
.cg-foot { background: var(--ink, #0d0f12); color: #8c8f93; font-size: 12px; padding: 26px 0; }
.cg-foot a { color: #a8a49c; }
.cg-foot a:hover { color: var(--gold-light, #e3c98f); }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .cg-cta { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cg-wrap { padding: 0 18px; }
  .cg-head .cg-wrap { min-height: 0; padding-top: 16px; padding-bottom: 16px; }
  .cg-nav { gap: 12px; font-size: 10.5px; }
  .cg-langs { padding-left: 10px; }
  .cg-grid { grid-template-columns: minmax(0, 1fr); }
  .cg-answer { padding: 20px 18px; }
  .cg-answer-text { font-size: 13.5px; }
  .cg-thumb { height: 210px; }
  .cg-cta { padding: 32px 24px; }
  .cg-cta-actions { flex-direction: column; }
  .cg-btn { text-align: center; }
}
