* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
body { background-color: #fafbfe; color: #2d3748; font-family: Inter, -apple-system, sans-serif; line-height: 1.6; font-size: 14px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.cpt-nav-wrap { background: #ffffff; border-bottom: 1px solid #e6ebf5; width: 100%; position: sticky; top: 0; z-index: 1000; }
.cpt-nav-inner { max-width: 1200px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.cpt-logo { height: 26px; }
.cpt-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.cpt-menu a { color: #718096; font-weight: 500; font-size: 13px; }
.cpt-menu a:hover, .cpt-menu a.active { color: #635bff; }

.cpt-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; min-height: 75vh; }
.cpt-frame { display: flex; gap: 24px; }
.cpt-sidebar { width: 68px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.cpt-side-btn { width: 68px; height: 68px; background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: #718096; box-shadow: 0 10px 25px rgba(99, 91, 255, 0.06); }
.cpt-side-btn:hover { border-color: #635bff; color: #635bff; }
.cpt-main { flex: 1; min-width: 0; }

.cpt-notice { background: #ffffff; border: 1px solid #e6ebf5; border-left: 3px solid #635bff; border-radius: 8px; padding: 14px 20px; margin-bottom: 24px; font-size: 13px; color: #718096; box-shadow: 0 10px 25px rgba(99, 91, 255, 0.06); }
.cpt-cat-title { font-size: 16px; font-weight: 700; color: #2d3748; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
.cpt-cat-title::before { content: ""; width: 6px; height: 14px; background: #635bff; border-radius: 2px; }

.cpt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.cpt-card { background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 25px rgba(99, 91, 255, 0.06); transition: transform 0.2s, border-color 0.2s; }
.cpt-card:hover { transform: translateY(-2px); border-color: #635bff; }
.cpt-card-top { display: flex; gap: 14px; margin-bottom: 14px; }
.cpt-card-img { width: 60px; height: 60px; border-radius: 8px; background: #fafbfe; border: 1px solid #e6ebf5; padding: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cpt-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cpt-card-info { flex: 1; min-width: 0; }
.cpt-card-name { font-size: 13px; font-weight: 600; color: #2d3748; line-height: 1.4; height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cpt-card-tag { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 2px; background: rgba(99, 91, 255, 0.08); color: #635bff; margin-top: 4px; }
.cpt-card-btm { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #e6ebf5; padding-top: 12px; margin-top: 4px; }
.cpt-price { font-size: 16px; font-weight: 700; color: #635bff; }
.cpt-buy-btn { background: #635bff; color: #fafbfe; padding: 4px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; }

.cpt-table-wrap { background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; overflow: hidden; margin-top: 20px; }
.cpt-table-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid #e6ebf5; justify-content: space-between; font-size: 13px; }
.cpt-table-row:last-child { border-bottom: none; }
.cpt-table-row:hover { background: rgba(99, 91, 255, 0.08); }

.cpt-dt-panel { background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; padding: 30px; display: flex; gap: 30px; margin-bottom: 24px; box-shadow: 0 10px 25px rgba(99, 91, 255, 0.06); }
.cpt-dt-media { width: 220px; flex-shrink: 0; background: #fafbfe; border: 1px solid #e6ebf5; border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.cpt-dt-form { flex: 1; min-width: 0; }
.cpt-dt-title { font-size: 18px; font-weight: 700; color: #2d3748; margin-bottom: 12px; }
.cpt-dt-price-bar { background: #fafbfe; border: 1px solid #e6ebf5; border-radius: 8px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cpt-input-box { width: 100%; height: 42px; border: 1px solid #e6ebf5; border-radius: 8px; padding: 0 14px; background: #ffffff; color: #2d3748; margin-bottom: 14px; font-size: 13px; outline: none; }
.cpt-input-box:focus { border-color: #635bff; }
.cpt-btn-submit { width: 100%; height: 44px; background: #635bff; color: #fafbfe; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.cpt-desc-card { background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; padding: 25px; font-size: 13px; line-height: 1.8; color: #718096; }
.cpt-desc-card p { margin-bottom: 14px; }

.cpt-query-box { max-width: 560px; margin: 40px auto; background: #ffffff; border: 1px solid #e6ebf5; border-radius: 8px; padding: 30px; box-shadow: 0 10px 25px rgba(99, 91, 255, 0.06); }
.cpt-query-tab { display: flex; border-bottom: 1px solid #e6ebf5; margin-bottom: 24px; }
.cpt-query-tab a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: #718096; font-weight: 600; border-bottom: 2px solid transparent; }
.cpt-query-tab a.active { color: #635bff; border-bottom-color: #635bff; }

.cpt-footer { background: #ffffff; border-top: 1px solid #e6ebf5; padding: 35px 20px; margin-top: 60px; text-align: center; font-size: 12px; color: #718096; }
.cpt-ft-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }

@media (max-width: 900px) {
  .cpt-frame { flex-direction: column !important; }
  .cpt-sidebar { width: 100%; flex-direction: row; justify-content: center; }
  .cpt-side-btn { width: 100px; height: 50px; flex-direction: row; gap: 6px; }
  .cpt-grid { grid-template-columns: repeat(2, 1fr); }
  .cpt-dt-panel { flex-direction: column; align-items: center; }
  .cpt-dt-media { width: 100%; max-width: 240px; }
}
@media (max-width: 560px) {
  .cpt-grid { grid-template-columns: 1fr; }
  .cpt-nav-inner { padding: 0 15px; }
  .cpt-container { padding: 0 12px; margin-top: 15px; }
}
