* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
body { background-color: #000000; color: #ffffff; font-family: 'Clan Pro', -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; }

.cmd-nav-wrap { background: #111111; border-bottom: 1px solid #222222; width: 100%; position: sticky; top: 0; z-index: 1000; }
.cmd-nav-inner { max-width: 1240px; margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.cmd-logo { height: 26px; }
.cmd-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.cmd-menu a { color: #888888; font-weight: 500; font-size: 13px; }
.cmd-menu a:hover, .cmd-menu a.active { color: #276ef1; }

.cmd-container { max-width: 1240px; margin: 30px auto; padding: 0 20px; min-height: 75vh; }
.cmd-frame { display: flex; flex-direction: row; gap: 24px; }
.cmd-sidebar { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.cmd-side-card { background: #111111; border: 1px solid #222222; border-radius: 0px; padding: 16px; box-shadow: none; }
.cmd-side-link { display: block; padding: 10px 14px; border-radius: 0px; color: #888888; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cmd-side-link:hover, .cmd-side-link.active { background: rgba(39, 110, 241, 0.15); color: #276ef1; }
.cmd-main { flex: 1; min-width: 0; }

.cmd-notice { background: #111111; border: 1px solid #222222; border-left: 3px solid #276ef1; border-radius: 0px; padding: 14px 20px; margin-bottom: 24px; font-size: 13px; color: #888888; box-shadow: none; }
.cmd-cat-title { font-size: 16px; font-weight: 700; color: #ffffff; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
.cmd-cat-title::before { content: ""; width: 6px; height: 14px; background: #276ef1; border-radius: 2px; }

.cmd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.cmd-card { background: #111111; border: 1px solid #222222; border-radius: 0px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: none; transition: transform 0.2s, border-color 0.2s; }
.cmd-card:hover { transform: translateY(-2px); border-color: #276ef1; }
.cmd-card-top { display: flex; gap: 14px; margin-bottom: 14px; }
.cmd-card-img { width: 56px; height: 56px; border-radius: 0px; background: #000000; border: 1px solid #222222; padding: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cmd-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cmd-card-info { flex: 1; min-width: 0; }
.cmd-card-name { font-size: 13px; font-weight: 600; color: #ffffff; line-height: 1.4; height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmd-card-tag { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 2px; background: rgba(39, 110, 241, 0.15); color: #276ef1; margin-top: 4px; }
.cmd-card-btm { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #222222; padding-top: 12px; margin-top: 4px; }
.cmd-price { font-size: 16px; font-weight: 700; color: #276ef1; }
.cmd-buy-btn { background: #276ef1; color: #000000; padding: 4px 14px; border-radius: 0px; font-size: 12px; font-weight: 600; flex-shrink: 0; }

.cmd-table-wrap { background: #111111; border: 1px solid #222222; border-radius: 0px; overflow: hidden; margin-top: 20px; }
.cmd-table-row { display: flex; align-items: center; padding: 14px 20px; border-bottom: 1px solid #222222; justify-content: space-between; font-size: 13px; }
.cmd-table-row:last-child { border-bottom: none; }
.cmd-table-row:hover { background: rgba(39, 110, 241, 0.15); }

.cmd-dt-panel { background: #111111; border: 1px solid #222222; border-radius: 0px; padding: 30px; display: flex; gap: 30px; margin-bottom: 24px; box-shadow: none; }
.cmd-dt-media { width: 220px; flex-shrink: 0; background: #000000; border: 1px solid #222222; border-radius: 0px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.cmd-dt-form { flex: 1; min-width: 0; }
.cmd-dt-title { font-size: 18px; font-weight: 700; color: #ffffff; margin-bottom: 12px; }
.cmd-dt-price-bar { background: #000000; border: 1px solid #222222; border-radius: 0px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cmd-input-box { width: 100%; height: 42px; border: 1px solid #222222; border-radius: 0px; padding: 0 14px; background: #111111; color: #ffffff; margin-bottom: 14px; font-size: 13px; outline: none; }
.cmd-input-box:focus { border-color: #276ef1; }
.cmd-btn-submit { width: 100%; height: 44px; background: #276ef1; color: #000000; border: none; border-radius: 0px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.cmd-desc-card { background: #111111; border: 1px solid #222222; border-radius: 0px; padding: 25px; font-size: 13px; line-height: 1.8; color: #888888; }
.cmd-desc-card p { margin-bottom: 14px; }

.cmd-query-box { max-width: 560px; margin: 40px auto; background: #111111; border: 1px solid #222222; border-radius: 0px; padding: 30px; box-shadow: none; }
.cmd-query-tab { display: flex; border-bottom: 1px solid #222222; margin-bottom: 24px; }
.cmd-query-tab a { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: #888888; font-weight: 600; border-bottom: 2px solid transparent; }
.cmd-query-tab a.active { color: #276ef1; border-bottom-color: #276ef1; }

.cmd-footer { background: #111111; border-top: 1px solid #222222; padding: 35px 20px; margin-top: 60px; text-align: center; font-size: 12px; color: #888888; }
.cmd-ft-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }

@media (max-width: 960px) {
  .cmd-frame { flex-direction: column !important; }
  .cmd-sidebar { width: 100%; }
  .cmd-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .cmd-dt-panel { flex-direction: column; align-items: center; }
  .cmd-dt-media { width: 100%; max-width: 240px; }
}
@media (max-width: 560px) {
  .cmd-grid { grid-template-columns: 1fr !important; }
  .cmd-nav-inner { padding: 0 15px; }
  .cmd-container { padding: 0 12px; margin-top: 15px; }
}
