/* Shared, unified styles for all product detail pages. */
.dt-hero { background: linear-gradient(135deg, #1F2028 0%, #2D2E3A 100%); color: #fff; border-radius: var(--radius); padding: 28px 24px; margin-bottom: 0; text-align: left; }
.dt-hero h1 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.dt-hero p { font-size: 14px; color: rgba(255,255,255,.7); }
.dt-compat-card { container-type: inline-size; }
.dt-compat-card, .dt-feature-card { width: 100%; box-sizing: border-box; }
.dt-grid { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
.dt-grid-item { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 1.5fr); align-items: center; gap: 12px; min-width: 0; padding: 16px 8px; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; text-align: left; }
.dt-grid-item:nth-last-child(-n+2) { border-bottom: 0; }
.dt-spec-label, .dt-spec-value { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.dt-spec-label { color: var(--text-muted); }
.dt-spec-value { color: #000; }
.dt-spec-icon { width: 20px; height: 20px; flex: 0 0 20px; }


.dt-section-divider { border-top: 1px solid var(--border); margin: 20px 0; }






.dt-feat-group { margin-bottom: 16px; }
.dt-feat-group:last-child { margin-bottom: 0; }
.dt-feat-list { display: flex; flex-direction: column; gap: 7px; }
.dt-feat-item { display: flex; align-items: flex-start; gap: 8px; color: var(--text); }
.dt-feat-item, .dt-spec-label, .dt-spec-value { font-size: 14px; font-weight: 500; line-height: 1.55; }
.dt-feat-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 7px; }
.dt-feat-item.--sub { padding-left: 14px; font-size: 13px; color: var(--text-sub); }
.dt-feat-item.--sub::before { width: 4px; height: 4px; background: var(--text-muted); margin-top: 8px; }
.dt-notice { border-left: 3px solid var(--border, #cbd5e1); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 13px; margin-bottom: 12px; background: var(--surface, #f8fafc); color: var(--text, #1f2937); }
.dt-notice.--red { background: rgba(239,68,68,.08); border-color: #ef4444; color: #991b1b; }
.dt-notice.--info { background: rgba(59,130,246,.08); border-color: #3b82f6; color: #1e40af; }


.dt-highlight { background: rgba(16,185,129,0.06); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.dt-highlight .dt-feat-item::before { background: #10B981; }
.dt-notice.--warn { background: rgba(245,158,11,.08); border-color: #f59e0b; color: #92400e; }
.dt-feat-sub { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-sub); line-height: 1.5; padding-left: 14px; }
.dt-feat-sub::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; margin-top: 7px; }
.dt-hotkey-table { width: 100%; font-size: 14px; }
.dt-hotkey-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.dt-hotkey-table td:first-child { font-weight: 600; color: var(--text); width: 100px; }
.dt-hotkey-table td:last-child { color: var(--text-sub); }
.dt-hotkey-table tr:last-child td { border-bottom: none; }
.dt-section { margin-bottom: 20px; }
.dt-section .card-head { gap: 8px; }
.dt-feat-item.--disabled { color: var(--text-muted); text-decoration: line-through; }
.dt-hero .dt-badges { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.dt-hero .dt-badge { padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.dt-badge.--web { background: rgba(16,185,129,0.2); color: #10B981; }
.dt-badge.--safe { background: rgba(59,130,246,0.2); color: #60A5FA; }
.dt-badge.--broadcast { background: rgba(168,85,247,0.2); color: #A855F7; }
.dt-ver-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dt-ver-btn { padding: 6px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: all 0.15s; }
.dt-ver-btn.--ok { background: rgba(16,185,129,0.1); color: #10B981; }
.dt-ver-btn.--ok:hover { background: rgba(16,185,129,0.2); }
.dt-ver-btn.--no { background: rgba(239,68,68,0.1); color: #EF4444; }
.dt-ver-btn.--no:hover { background: rgba(239,68,68,0.2); }
.dt-ver-btn.--active { outline: 2px solid currentColor; outline-offset: 1px; }
.dt-ver-result { margin-top: 10px; padding: 12px; border-radius: var(--radius); font-size: 14px; display: none; }
.dt-ver-result.--ok { background: rgba(16,185,129,0.08); color: #10B981; display: block; }
.dt-ver-result.--no { background: rgba(239,68,68,0.08); color: #EF4444; display: block; }
.dt-feat-item.--highlight::before { background: #10B981; }

@container (min-width: 640px) {
  .dt-compat-card .dt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
.dt-grid { grid-template-columns: 1fr; gap: 8px; }
.dt-grid-item { grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); padding: 14px 4px; }
.dt-grid-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
.dt-grid-item:last-child { border-bottom: 0; }
}


.dt-info-trigger { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; margin-left: -4px; padding: 0; border: 0; background: transparent; color: var(--primary); cursor: pointer; }
.dt-info-trigger:hover { opacity: .7; }
.dt-info-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.dt-info-modal { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: 0 16px 48px rgba(0,0,0,.2); }
.dt-info-modal::backdrop { background: rgba(15, 23, 42, .48); }
.dt-info-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dt-info-modal-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.dt-info-close { border: 0; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.dt-info-modal-body { margin: 0; font-size: 14px; line-height: 1.7; }

.dt-product-media { overflow: hidden; }
.dt-purchase-card { width: 100%; min-width: 0; box-sizing: border-box; }
.dt-purchase-heading { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.dt-purchase-heading svg { width: 16px; height: 16px; flex: 0 0 16px; stroke: var(--primary); }
.dt-purchase-prices { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.dt-purchase-price { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.dt-purchase-price .dt-feat-item { display: block; }
.dt-purchase-price .dt-feat-item::before { display: none; }
.dt-price-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.dt-purchase-button { display: inline-flex; align-self: flex-start; margin-top: 14px; white-space: nowrap; }
@media (max-width: 600px) {
  .dt-purchase-price { padding: 11px 4px; }
  .dt-price-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .dt-purchase-button { padding: 9px 14px; font-size: 13px; }
}
