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