.dsd-lizhi-buy {
    margin: 28px 0;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}
.dsd-lizhi-buy__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}
.dsd-lizhi-buy__name {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
    line-height: 1.5;
}
.dsd-lizhi-buy__price {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.5;
    white-space: nowrap;
}
.dsd-lizhi-buy__btn {
    display: inline-block;
    margin-left: auto;
    padding: 9px 22px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s ease;
}
.dsd-lizhi-buy__btn:hover { background: #1d4ed8; color: #fff !important; }
.dsd-lizhi-buy--inactive { opacity: .9; }
.dsd-lizhi-buy--inactive .dsd-lizhi-buy__price { color: #9ca3af; font-weight: 600; }
@media (max-width: 640px) {
    .dsd-lizhi-buy { padding: 12px 14px; gap: 8px 12px; }
    .dsd-lizhi-buy__btn { margin-left: 0; width: 100%; text-align: center; }
}

/* 软件商城列表 */
.dsd-store { margin: 28px 0; }
.dsd-store__hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 24px 26px; border-radius: 16px; background: #0f172a; color: #fff; margin-bottom: 22px; }
.dsd-store__eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #93c5fd; margin-bottom: 6px; }
.dsd-store__title { margin: 0 0 6px; font-size: 30px; line-height: 1.2; color: #fff; }
.dsd-store__desc { margin: 0; color: #cbd5e1; font-size: 14px; }
.dsd-store__search { display: flex; gap: 0; background: #fff; border-radius: 10px; overflow: hidden; min-width: 280px; }
.dsd-store__search input { border: 0; padding: 11px 14px; min-width: 220px; outline: none; font-size: 14px; }
.dsd-store__search button { border: 0; background: #2563eb; color: #fff; padding: 0 18px; font-weight: 600; cursor: pointer; }
.dsd-store__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dsd-store-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; overflow: hidden; text-decoration: none !important; color: inherit !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.dsd-store-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 23, 42, .12); border-color: #bfdbfe; }
.dsd-store-card__media { height: 120px; display: flex; align-items: center; justify-content: center; background: #f8fafc; padding: 16px; }
.dsd-store-card__media img { max-width: 100%; max-height: 88px; object-fit: contain; }
.dsd-store-card__placeholder { font-size: 34px; font-weight: 800; color: #94a3b8; }
.dsd-store-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dsd-store-card__name { font-weight: 700; font-size: 15px; color: #111827; line-height: 1.35; }
.dsd-store-card__desc { font-size: 12px; color: #6b7280; line-height: 1.5; flex: 1; }
.dsd-store-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.dsd-store-card__price { color: #dc2626; font-weight: 700; font-size: 14px; }
.dsd-store-card__cta { font-size: 12px; color: #2563eb; font-weight: 600; }
.dsd-store__pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }
.dsd-store__pagination a, .dsd-store__pagination span { padding: 7px 12px; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; font-size: 13px; }
.dsd-store__pagination .current { background: #2563eb; border-color: #2563eb; color: #fff; }
.dsd-store__empty { padding: 30px; text-align: center; color: #6b7280; }
@media (max-width: 1100px) { .dsd-store__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .dsd-store__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dsd-store__grid { grid-template-columns: 1fr; } .dsd-store__hero { padding: 20px; } .dsd-store__title { font-size: 24px; } }

/* 商城页宽度与站点内容宽度一致（覆盖主题页面模板的 mw960 窄栏） */
.dsd-lizhi-store-page .container-xl.mw960 { max-width: 100%; }
@media (min-width: 992px) {
    .dsd-lizhi-store-page .container-xl.mw960 { max-width: 960px; }
}
@media (min-width: 1200px) {
    .dsd-lizhi-store-page .container-xl.mw960 { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .dsd-lizhi-store-page .container-xl.mw960 { max-width: 1240px; }
}
.dsd-lizhi-store-page .dsd-store { margin-left: 0; margin-right: 0; }

/* 文章内配图 */
.dsd-lizhi-figure { margin: 26px 0; }
.dsd-lizhi-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.dsd-lizhi-figure figcaption { margin-top: 8px; font-size: 13px; color: #6b7280; text-align: center; }
