.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.ds-card { border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; background: #fff; }
.ds-card-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ds-card-noimg { width: 100%; height: 160px; background: #f2f2f2; }
.ds-card-body { padding: 12px; }
.ds-card-title { font-size: 16px; margin: 0 0 8px; }
.ds-card-title a { text-decoration: none; color: #222; }
.ds-card-price { font-weight: bold; color: #2271b1; margin-bottom: 10px; }

.ds-btn { display: inline-block; padding: 8px 16px; background: #2271b1; color: #fff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 14px; }
.ds-btn:hover { background: #135e96; color: #fff; }
.ds-btn-primary { background: #d63638; }
.ds-btn-primary:hover { background: #a72326; }

.ds-single-koleksi { margin-top: 24px; }
.ds-buy-box { border: 1px solid #e2e2e2; border-radius: 8px; padding: 16px; margin-bottom: 20px; max-width: 320px; }
.ds-buy-box .ds-price { font-size: 24px; font-weight: bold; color: #2271b1; }
.ds-buy-box .ds-version { color: #666; margin-bottom: 10px; }
.ds-buy-box .ds-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; margin-top: 8px; }
.ds-btn-demo { background: #fff; color: #2271b1 !important; border: 1px solid #2271b1; }
.ds-btn-demo:hover { background: #f0f6fb; color: #135e96 !important; }

.ds-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 20px 0; }
.ds-gallery-thumb { display: block !important; width: 100% !important; height: auto !important; max-width: none !important; text-decoration: none; }
.ds-gallery-thumb-inner { display: block; width: 100% !important; height: 0; padding-bottom: 75%; background-size: cover !important; background-position: center !important; background-repeat: no-repeat; background-color: #f2f2f2; border-radius: 4px; border: 1px solid #ddd; }

.ds-detail-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.ds-detail-table th, .ds-detail-table td { border: 1px solid #e2e2e2; padding: 8px 12px; text-align: left; }
.ds-detail-table th { background: #f7f7f7; width: 30%; }

.ds-changelog pre { background: #f7f7f7; padding: 12px; border-radius: 6px; white-space: pre-wrap; }

#ds-mini-cart { position: fixed; bottom: 20px; right: 20px; background: #2271b1; color: #fff !important; padding: 12px 18px; border-radius: 30px; cursor: pointer; z-index: 999999; box-shadow: 0 2px 8px rgba(0,0,0,.2); text-decoration: none !important; display: inline-flex; align-items: center; pointer-events: auto; }
#ds-mini-cart:hover { background: #135e96; color: #fff !important; }
#ds-mini-cart-count { background: #d63638; border-radius: 50%; padding: 2px 8px; margin-right: 6px; }

#ds-checkout-wrap { max-width: 700px; }
.ds-cart-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.ds-cart-row img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.ds-cart-row .ds-cart-title { flex: 1; }
.ds-cart-row input[type=number] { width: 60px; }
.ds-remove-item { color: #d63638; cursor: pointer; }

.ds-order-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.ds-order-table th, .ds-order-table td { border: 1px solid #e2e2e2; padding: 8px 12px; }

.ds-status { padding: 3px 10px; border-radius: 12px; font-size: 12px; color: #fff; background: #999; }
.ds-status-menunggu_pembayaran { background: #dba617; }
.ds-status-menunggu_konfirmasi { background: #2271b1; }
.ds-status-lunas { background: #00a32a; }
.ds-status-selesai { background: #00a32a; }
.ds-status-batal { background: #d63638; }

.ds-transfer-box { background: #f7f7f7; padding: 16px; border-radius: 8px; margin-top: 16px; }
.ds-muted { color: #999; }

.ds-verifying-notice { background: #fff8e5; border: 1px solid #f0c33c; color: #6b5300; padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.ds-download-note { font-size: 12px; color: #666; margin-top: 4px; }

.ds-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ds-filter-link { padding: 6px 14px; border-radius: 20px; background: #f2f2f2; color: #333; text-decoration: none; font-size: 14px; }
.ds-filter-link:hover { background: #e2e2e2; }
.ds-filter-link.active { background: #2271b1; color: #fff; }

.ds-pagination { display: flex; gap: 6px; margin: 24px 0; }
.ds-page-link { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; }
.ds-page-link.active { background: #2271b1; color: #fff; border-color: #2271b1; }

#ds-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.85); z-index: 999998; align-items: center; justify-content: center; }
#ds-lightbox-img { max-width: 90%; max-height: 85%; box-shadow: 0 4px 30px rgba(0,0,0,.5); border-radius: 4px; cursor: default; }
#ds-lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.ds-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 10px 16px; user-select: none; }
#ds-lightbox-prev { left: 10px; }
#ds-lightbox-next { right: 10px; }
.ds-gallery-thumb { cursor: zoom-in; }
