/**
 * Print Detail Page Styles
 *
 * Rules for the [dealsector_printdetail] print page (dst_get_print_detail_template(),
 * inc/dealsector-templates.php). Moved out of an inline <style> block baked
 * into that template's generated page content (issue 57) because a
 * content-embedded style block is exposed to the KSES stripping hazard
 * (issue 53), requires a full template regeneration for every tweak, and
 * cannot participate in the ADR-0007 minify/versioning pipeline — a real
 * stylesheet fixes all three and lets a site dev adjust print styling
 * without a regen.
 *
 * No @media print wrapper here: this stylesheet is enqueued with the print
 * media type on its own <link> element (inc/enqueue-scripts.php), so every
 * rule below only ever applies in a print context regardless. Every
 * selector/declaration is preserved exactly as it behaved before the move.
 *
 * @package DS_Theme_Rugged_Dark
 */

.dst-print-wrapper { max-width: 100%; padding: 20px; font-family: Arial, sans-serif; color: #000; }
.dst-print-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--dst-primary-red, #53b147); padding-bottom: 20px; margin-bottom: 20px; }
.dst-print-logo { max-height: 60px; }
.dst-print-contact { text-align: right; font-size: 12px; }

/* 2026-09-04 (dangling-p fix, live verification): [dst_website] no longer
   wraps itself in a <p> (it now matches the bare span/anchor shape of its
   [dst_phone]/[dst_email]/[dst_address] siblings, usable inline in
   hand-built page content). The print header's contact block sizes it as
   a block here instead, so a configured value still lays out on its own
   line; a blank value resolves to '' with nothing left to size. */
.dst-print-contact .dst-contact-website { display: block; }
.dst-print-content h1 { font-size: 24px; margin-bottom: 5px; }
.dst-print-stock { color: #666; margin-bottom: 20px; }
.dst-print-image img { max-width: 100%; height: auto; margin-bottom: 20px; }
.dst-print-pricing { background: #f5f5f5; padding: 15px; margin-bottom: 20px; }
.dst-print-pricing > div:empty { display: none; }
.dst-print-sale { color: var(--dst-primary-red, #53b147); font-size: 18px; }
.dst-print-specs h2, .dst-print-description h2 { font-size: 18px; border-bottom: 1px solid #ccc; padding-bottom: 10px; margin-bottom: 15px; }
.dst-print-specs table { width: 100%; border-collapse: collapse; }
.dst-print-specs td, .dst-print-specs th { padding: 8px; border-bottom: 1px solid #eee; text-align: left; }
.dst-print-footer { margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--dst-primary-red, #53b147); text-align: center; font-size: 12px; color: #666; }

/* Issue 57: item detail-page URL, added above the footer-text line inside
   .dst-print-footer — kept small and muted like the rest of the footer,
   with long URLs wrapped rather than left to run off the printed page. */
.dst-print-url { font-size: 11px; color: #999; overflow-wrap: break-word; word-break: break-word; }
