body.dtp-page { background: #1C1A18; }
body.dtp-page .site-content,
body.dtp-page #content { background: #1C1A18; padding: 0 !important; margin: 0 !important; }
body.dtp-page .site-content > .ast-container { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }

.dtp {
  --ink-0: #0E0D0C; --ink: #1C1A18; --ink-2: #232020; --ink-3: #2A2622; --photo: #1A1816; --field: #141312;
  --line: #3A342C; --line-2: #4C443A; --warn-bg: #2E2620; --warn-line: #6B5537; --sold: #57524B;
  --tan: #D8B78C; --tan-ink: #171514; --amber: #E0A86A; --bone: #F1EDE5; --stone: #CBC3B6; --muted: #A29A8E;
  --display: 'Saira Condensed', Impact, sans-serif; --body: 'Bitter', Georgia, serif;
  --gut: 20px; --maxw: 1240px;
  color-scheme: dark;
  background: var(--ink); color: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.6;
}
.dtp * { box-sizing: border-box; }
.dtp a { color: var(--tan); }
.dtp a:hover { color: var(--bone); }
.dtp img { display: block; max-width: 100%; height: auto; }
.dtp p { margin: 0; }
.dtp-in { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.dtp-body { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
.dtp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dtp-hero { background: var(--ink-0); border-bottom: 1px solid var(--line); padding-top: 34px; }
.dtp-hero .dtp-in { display: flex; flex-direction: column; gap: 12px; }
.dtp-eyebrow { font-family: var(--display); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan); }
.dtp .dtp-h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; color: var(--bone); text-wrap: balance; }
.dtp-lead { max-width: 62ch; font-size: 18px; color: var(--stone); text-wrap: pretty; }
.dtp .dtp-h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; color: var(--bone); }
.dtp-subnav { display: flex; gap: 4px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.dtp-subnav::-webkit-scrollbar { display: none; }
.dtp .dtp-subnav a { display: flex; align-items: center; flex: 0 0 auto; min-height: 50px; padding: 0 14px; font-family: var(--display); font-size: 16px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.dtp .dtp-subnav a.is-on { color: var(--bone); border-bottom-color: var(--tan); }
.dtp .dtp-subnav a:hover { color: var(--bone); }
.dtp-bar { background: var(--ink-0); border-bottom: 1px solid var(--line); }
.dtp-bar .dtp-subnav { margin-top: 0; }

.dtp .dtp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; margin: 0; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 0; box-shadow: none; color: var(--bone); font-family: var(--display); font-size: 17px; font-weight: 400; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.dtp .dtp-btn:hover { background: var(--ink-3); border-color: var(--tan); color: var(--bone); }
.dtp .dtp-btn-tan, .dtp .dtp-btn-tan:hover { background: var(--tan); border-color: var(--tan); color: var(--tan-ink); }
.dtp .dtp-btn-tan:hover { background: var(--bone); border-color: var(--bone); }
.dtp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dtp .dtp-link { align-self: flex-start; font-family: var(--display); font-size: 15.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.dtp-fine { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.dtp-muted { color: var(--muted); }

.dtp-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dtp-field > span, .dtp-fieldset legend { font-family: var(--display); font-size: 14.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.dtp .dtp-field input, .dtp .dtp-field select, .dtp .dtp-field textarea, .dtp .dtp-search-box input {
  width: 100%; min-height: 52px; padding: 12px 14px; margin: 0; background: var(--field); border: 1px solid var(--line-2); border-radius: 0; box-shadow: none;
  color: var(--bone); font-family: var(--body); font-size: 17px; line-height: 1.4;
}
.dtp .dtp-field textarea { min-height: 130px; resize: vertical; }
.dtp .dtp-field input:focus, .dtp .dtp-field select:focus, .dtp .dtp-field textarea:focus, .dtp .dtp-search-box input:focus { border-color: var(--tan); outline: 2px solid transparent; }
.dtp .dtp-field select:disabled { opacity: 0.55; }
.dtp-field small { font-size: 14px; color: var(--muted); }
.dtp-field-inline { flex-direction: row; align-items: center; gap: 10px; }
.dtp .dtp-field-inline select { width: auto; min-height: 46px; }

.dtp-search { display: flex; gap: 10px; }
.dtp-search-box { display: flex; flex: 1 1 auto; min-width: 0; }

.dtp-browse { display: flex; flex-direction: column; gap: 22px; }
.dtp-side { flex: 0 0 auto; min-width: 0; }
.dtp-results { display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; min-width: 0; }
.dtp-filters { background: var(--ink-2); border: 1px solid var(--line); }
.dtp-filters summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; font-family: var(--display); font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; list-style: none; }
.dtp-filters summary::-webkit-details-marker { display: none; }
.dtp-sum-open, .dtp-sum-closed { font-size: 22px; color: var(--tan); }
.dtp-filters[open] .dtp-sum-closed, .dtp-filters:not([open]) .dtp-sum-open { display: none; }
.dtp-filter-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 16px 18px; }
.dtp-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dtp-count { font-family: var(--display); font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; }
.dtp-sort { display: flex; gap: 8px; margin: 0; }
.dtp-chipbar { display: flex; flex-wrap: wrap; gap: 8px; }
.dtp .dtp-fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--stone); font-size: 15px; text-decoration: none; }
.dtp-fchip b { font-weight: 400; color: var(--tan); }

.dtp-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.dtp-card { display: flex; flex-direction: column; flex: 1 1 100%; min-width: 0; background: var(--ink-2); border: 1px solid var(--line); }
.dtp .dtp-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--photo); overflow: hidden; text-decoration: none; }
.dtp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dtp-card.is-sold .dtp-card-img img { filter: grayscale(0.6); opacity: 0.75; }
.dtp-nophoto { font-family: var(--display); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dtp-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 16px; }
.dtp .dtp-card-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.08; letter-spacing: 0.02em; text-transform: uppercase; }
.dtp .dtp-card-title a { color: var(--bone); text-decoration: none; }
.dtp .dtp-card-title a:hover { color: var(--tan); }
.dtp-card-meta { font-size: 15px; color: var(--stone); }
.dtp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.dtp-price { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--bone); }
.dtp-price.is-call { font-size: 18px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--tan); }
.dtp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dtp-tag { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--stone); font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.dtp-tag-tan { background: var(--tan); border-color: var(--tan); color: var(--tan-ink); }
.dtp-tag-sold { background: var(--sold); border-color: var(--sold); color: var(--bone); }
.dtp-tag-ok { border-color: var(--tan); color: var(--tan); }

.dtp-save-form { display: flex; margin: 0; }
.dtp .dtp-save { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 50px; min-height: 50px; padding: 0 16px; margin: 0; background: transparent; border: 1px solid var(--line-2); border-radius: 0; box-shadow: none; color: var(--stone); font-family: var(--display); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.dtp .dtp-save:hover { background: transparent; border-color: var(--tan); color: var(--bone); }
.dtp .dtp-save span { font-family: Arial, sans-serif; font-size: 22px; line-height: 1; color: var(--tan); }
.dtp .dtp-save.is-on { border-color: var(--tan); color: var(--bone); }
.dtp .dtp-save.is-compact { padding: 0; }

.dtp-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.dtp-pages span { font-size: 15px; color: var(--muted); }
.dtp-empty { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--tan); }
.dtp-empty p { max-width: 62ch; color: var(--stone); }

.dtp .dtp-back { align-self: flex-start; font-family: var(--display); font-size: 16px; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; }
.dtp-detail { display: flex; flex-direction: column; gap: 24px; }
.dtp-detail-media { flex: 1 1 auto; min-width: 0; }
.dtp-gallery { display: flex; flex-direction: column; gap: 10px; }
.dtp-gallery-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--photo); border: 1px solid var(--line); overflow: hidden; }
.dtp-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.dtp-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dtp-thumb { display: flex; flex: 0 0 88px; height: 66px; border: 2px solid var(--line); overflow: hidden; }
.dtp-thumb.is-on { border-color: var(--tan); }
.dtp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dtp-info { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; min-width: 0; }
.dtp .dtp-gun-title { font-size: 36px; }
.dtp-gun-sub { font-size: 17px; color: var(--stone); }
.dtp-pricebox, .dtp-soldbox { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--tan); }
.dtp-soldbox { border-left-color: var(--sold); }
.dtp-soldbox strong { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.dtp-soldbox p { color: var(--stone); }
.dtp-price-big { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; }
.dtp-price-big.is-call { font-size: 30px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tan); }
.dtp-section { display: flex; flex-direction: column; gap: 14px; }
.dtp-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dtp-desc { max-width: 70ch; font-size: 18px; color: var(--stone); }
.dtp-specs { display: flex; flex-wrap: wrap; margin: 0; }
.dtp-spec { display: flex; flex-direction: column; gap: 2px; flex: 1 1 100%; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); }
.dtp-spec dt { font-family: var(--display); font-size: 14px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.dtp-spec dd { margin: 0; font-size: 17px; color: var(--bone); }

.dtp-two { display: flex; flex-direction: column; gap: 20px; }
.dtp-panel { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; padding: 24px; margin: 0; background: var(--ink-2); border: 1px solid var(--line); }
.dtp-narrow { max-width: 640px; }
.dtp-request { max-width: 860px; }
.dtp-row2 { display: flex; flex-direction: column; gap: 16px; }
.dtp-row2 > * { flex: 1 1 0; }
.dtp-alert { padding: 14px 16px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--amber); }
.dtp-alert.is-ok { background: var(--ink-2); border-color: var(--tan); color: var(--bone); }
.dtp-hp { display: none !important; }
.dtp-fieldset { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.dtp-fieldset legend { padding: 0; margin-bottom: 10px; }
.dtp-fieldset legend em { margin-left: 6px; font-style: normal; color: var(--amber); }
.dtp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dtp-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px; background: var(--field); border: 1px solid var(--line-2); cursor: pointer; }
.dtp-chip:has(input:checked) { background: var(--ink-3); border-color: var(--tan); }
.dtp-chip input { width: 20px; height: 20px; margin: 0; accent-color: var(--tan); }
.dtp-chip span { font-family: var(--display); font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.dtp-callout { padding: 14px 16px; border: 1px dashed var(--line-2); font-family: var(--display); font-size: 16px; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bone); }
.dtp-req { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--tan); }
.dtp-req.is-closed { border-left-color: var(--line-2); }
.dtp-req strong { font-family: var(--display); font-size: 20px; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; }
.dtp-req form { margin: 0; }
.dtp-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--bone); }
.dtp-note span { font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.dtp-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.dtp-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--tan); }
.dtp-check small { display: block; font-size: 14px; color: var(--muted); }

@media (min-width: 700px) {
  .dtp-card { flex: 0 1 calc(50% - 8px); }
  .dtp-row2 { flex-direction: row; }
  .dtp-spec { flex: 1 1 50%; }
}
@media (min-width: 980px) {
  .dtp { --gut: 40px; }
  .dtp .dtp-h1 { font-size: 56px; }
  .dtp-browse { flex-direction: row; align-items: flex-start; }
  .dtp-side { flex: 0 0 280px; }
  .dtp-card { flex: 0 1 calc(33.333% - 11px); }
  .dtp-detail { flex-direction: row; align-items: flex-start; gap: 40px; }
  .dtp-detail-media { flex: 1 1 58%; }
  .dtp-info { flex: 1 1 42%; }
  .dtp .dtp-gun-title { font-size: 46px; }
  .dtp-two { flex-direction: row; align-items: flex-start; }
  .dtp-spec { flex: 1 1 33.333%; }
}

/* readable text */
.dtp { color: var(--bone); }
.dtp label, .dtp legend, .dtp p, .dtp li, .dtp td, .dtp th { color: inherit; }
.dtp .dtp-chip, .dtp .dtp-chip span { color: var(--bone); }
.dtp .dtp-chip:has(input:checked) span { color: var(--tan); }
.dtp .dtp-field input, .dtp .dtp-field select, .dtp .dtp-field textarea, .dtp .dtp-search-box input { color: var(--bone); -webkit-text-fill-color: var(--bone); color-scheme: dark; }
.dtp .dtp-field input::placeholder, .dtp .dtp-field textarea::placeholder, .dtp .dtp-search-box input::placeholder { color: var(--muted); -webkit-text-fill-color: var(--muted); opacity: 1; }
.dtp .dtp-field select option { background: var(--field); color: var(--bone); }
.dtp .dtp-btn, .dtp .dtp-btn:visited { color: var(--bone); }
.dtp .dtp-btn-tan, .dtp .dtp-btn-tan:visited, .dtp .dtp-btn-tan:hover, .dtp button.dtp-btn-tan { color: var(--tan-ink); }
.dtp a:not(.dtp-btn) { color: var(--tan); }
.dtp a:not(.dtp-btn):hover { color: var(--bone); }
.dtp .dtp-subnav a { color: var(--stone); }
.dtp .dtp-subnav a.is-on, .dtp .dtp-subnav a:hover { color: var(--tan); }

/* contrast-autofill: keep typed text readable when the browser autofills a field */
.dtp .dtp-field input:-webkit-autofill, .dtp .dtp-field input:-webkit-autofill:hover, .dtp .dtp-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #141312 inset !important; box-shadow: 0 0 0 1000px #141312 inset !important; -webkit-text-fill-color: #F1EDE5 !important; caret-color: #F1EDE5; }
.dtp .dtp-field > span { color: #CBC3B6; }
.dtp .dtp-field input, .dtp .dtp-field select, .dtp .dtp-field textarea { border-color: #6B5E4E; }

/* contrast-focus-lock: theme sets inputs to #fff on focus; keep them dark with light text in every state */
.dtp .dtp-field input, .dtp .dtp-field select, .dtp .dtp-field textarea, .dtp .dtp-search-box input,
.dtp .dtp-field input:focus, .dtp .dtp-field select:focus, .dtp .dtp-field textarea:focus, .dtp .dtp-search-box input:focus,
.dtp .dtp-field input:hover, .dtp .dtp-field select:hover, .dtp .dtp-field textarea:hover,
.dtp .dtp-field input:active, .dtp .dtp-field input:not(:placeholder-shown) {
  background: #141312 !important; background-color: #141312 !important; color: #F1EDE5 !important; -webkit-text-fill-color: #F1EDE5 !important; caret-color: #F1EDE5 !important;
}
.dtp .dtp-field input:focus, .dtp .dtp-field select:focus, .dtp .dtp-field textarea:focus, .dtp .dtp-search-box input:focus { border-color: #D8B78C !important; box-shadow: 0 0 0 2px #D8B78C !important; }
.dtp .dtp-field input::placeholder, .dtp .dtp-field textarea::placeholder { color: #A29A8E !important; -webkit-text-fill-color: #A29A8E !important; }
