/* Printwand design tokens. Brand colors from printwand.com CSS (theme.css / menu.css) and favicon. */
:root {
  --teal: #469299;        /* printwand.com primary (menu/nav bg). Decorative / large text only (3.6:1 on white). */
  --teal-dark: #2c6a70;   /* accessible primary for buttons and links (6.2:1 on white) */
  --teal-deep: #1f4f54;   /* footer / dark surfaces (9.1:1 with white) */
  --teal-light: #6cb8c1;  /* printwand.com favicon teal, accents */
  --amber: #f0a300;       /* printwand.com accent (prices, active states). Use with dark text (8.5:1 with #171717). */
  --ink: #231f20;         /* logo black */
  --text: #333333;        /* printwand.com body text (12.6:1 on white) */
  --muted: #5a6066;
  --bg: #ffffff;
  --bg-alt: #e6ecf2;      /* printwand.com header strip */
  --tint: #edf7fc;        /* printwand.com light panel */
  --line: #d4dde5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20,40,50,.06), 0 6px 20px rgba(20,40,50,.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 750; margin-top: .2em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { width: 150px; height: auto; }
.site-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .5rem .7rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 8px; }
.site-nav a:hover { background: var(--tint); color: var(--teal-deep); }
.site-nav a[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.site-nav .nav-cta a { color: #fff; margin-left: .4rem; }
.site-nav .nav-cta a:hover { background: var(--teal-deep); color: #fff; }
.nav-toggle { display: none; align-items: center; gap: .5rem; font: inherit; font-weight: 700; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: .45rem .8rem; color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; } .nav-toggle-bars::after { position: absolute; top: 6px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1rem; }
  .site-nav a { padding: .8rem .5rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: .9rem; }
  .site-nav .nav-cta a { margin: .5rem 0 0; text-align: center; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--teal-dark); color: #fff; text-decoration: none; font-weight: 700; padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid var(--teal-dark); line-height: 1.2; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .93rem; }
.btn-ghost { background: transparent; color: var(--teal-dark); }
.btn-ghost:hover { background: var(--tint); color: var(--teal-deep); }
.btn-light { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-light:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-accent { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-accent:hover { background: #fff; border-color: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.25rem 0; }
.text-link { font-weight: 700; }

/* Hero + page heads */
.hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-copy .lede { font-size: 1.15rem; max-width: 40em; }
.hero-phone { color: var(--muted); }
.hero-svg { width: 100%; max-width: 440px; margin-left: auto; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { display: none; } }
.page-head { background: var(--bg-alt); padding: 2rem 0 2.25rem; border-bottom: 1px solid var(--line); }
.page-head .lede { font-size: 1.12rem; max-width: 46em; margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--muted); }
.crumbs a { color: var(--teal-dark); }

/* Sections */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-tight { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.section-alt { background: var(--tint); }
.section-head { max-width: 46em; margin-bottom: 1.5rem; }
.h-sub { font-size: 1.2rem; margin-top: 1.5rem; }
.prose ul.list, .prose ol.list { padding-left: 1.25rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose h3 { margin-top: 1.25em; }
.cta-line { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 10px; padding: .8rem 1rem; }
.section-alt .cta-line { background: #fff; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Cards */
.grid { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover .card-title { color: var(--teal-dark); text-decoration: underline; }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.card-title { margin: 0; font-size: 1.2rem; }
.card-text { color: var(--text); }
.card-more { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--teal-dark); }
.media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph { display: grid; place-items: center; color: rgba(255,255,255,.85); }
.ph-0 { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.ph-1 { background: linear-gradient(135deg, var(--teal-light), var(--teal)); }
.ph-2 { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); }
.ph svg { width: 44px; height: 44px; color: var(--amber); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.testimonial { margin: 0 0 1rem; background: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0; font-size: 1.05rem; }
.testimonial blockquote p::before { content: ""; display: block; width: 36px; height: 4px; background: var(--amber); border-radius: 2px; margin-bottom: .8rem; }
.testimonial figcaption { font-weight: 700; color: var(--ink); }

/* FAQ */
.faq .qa { border-top: 1px solid var(--line); padding: 1.1rem 0 .2rem; scroll-margin-top: 90px; }
.faq .qa:first-child { border-top: 0; }
.faq h3 { margin-bottom: .35rem; }
.faq-group { margin-bottom: 2rem; scroll-margin-top: 90px; }
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; }
.toc a { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; background: #fff; }
.toc a:hover { border-color: var(--teal); }
.fine { font-size: .9rem; color: var(--muted); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 2rem; }
.callout h2 { margin: 0 0 .25rem; font-size: 1.3rem; }
.callout p { margin: 0; }
.cta-band { background: var(--teal-deep); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band .cta-line { background: transparent; border: 0; padding: 0; }
.cta-band .cta-line a:first-child:not(.btn), .cta-band strong a:not(.btn) { display: inline-block; background: var(--amber); color: var(--ink); padding: .8rem 1.3rem; border-radius: 999px; text-decoration: none; margin: .5rem .5rem .5rem 0; }

/* Quote form */
.notice { border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0; }
.notice-info { background: #fff7e0; border: 1px solid #f0c75a; color: var(--ink); }
.notice-result { background: #fff; border: 2px solid var(--teal-dark); }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid .field:has(textarea), .form-grid .field:has(select[name="product"]) { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.hint { font-size: .9rem; color: var(--muted); margin: 0 0 .35rem; }
.req { color: #b3261e; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); padding: .7rem .8rem; border: 1.5px solid #8d99a3; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); outline: 3px solid rgba(70,146,153,.35); outline-offset: 0; }
[aria-invalid="true"] { border-color: #b3261e; }
.error { color: #b3261e; font-size: .9rem; font-weight: 600; margin: .3rem 0 0; }

/* Footer */
.site-footer { background: var(--teal-deep); color: #e6f1f2; padding: 3rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-img { width: 170px; }
.footer-h { color: #fff; font-size: 1rem; margin: 0 0 .6rem; }
.footer-h + .footer-list + .footer-h, .footer-list + .footer-h { margin-top: 1.25rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .35rem; }
.footer-contact { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1rem; color: #c9dfe1; }
.inline-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; padding: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- catalog ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
.ph-product { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; padding: 1rem; text-align: center; }
.ph-product svg { width: 28px; height: 28px; }
.ph-name { color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.25; max-width: 92%; }
.ph-cat { color: rgba(255,255,255,.8); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.product-grid .card-title { font-size: 1rem; }
.product-grid .card-text { font-size: .88rem; }
.product-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.product-media .media { border-radius: 16px; overflow: hidden; }
.product-media .ph-name { font-size: 1.4rem; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-info h1 { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--teal-deep); font-weight: 700; background: var(--tint); }
/* nav groups */
.site-nav .has-sub { position: relative; }
.sub-toggle { font: inherit; font-weight: 600; font-size: .96rem; color: var(--ink); background: none; border: 0; padding: .5rem .7rem; border-radius: 8px; cursor: pointer; }
.sub-toggle::after { content: ""; display: inline-block; margin-left: .35rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--tint); color: var(--teal-deep); }
.site-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; z-index: 30; }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub, .site-nav .sub.open { display: flex; }
.site-nav .sub a { font-weight: 500; }
.ext { font-size: .8em; }
@media (max-width: 960px) {
  .site-nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .sub-toggle { padding: .8rem .5rem; width: 100%; text-align: left; cursor: default; }
  .sub-toggle::after { display: none; }
}
.no-js .site-nav .sub { display: flex; position: static; box-shadow: none; border: 0; }
/* category heroes */
.page-head-img .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.hero-media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .page-head-img .wrap { grid-template-columns: 1fr; } .page-head-media { max-width: 520px; } }
picture { display: block; }

/* product line option tables */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.options-table{min-width:640px;width:100%}
.options-table thead th{text-align:left;font-size:.85rem;white-space:nowrap}
.options-table tbody th{font-weight:600}
.options-table tr:target{background:#fff6dc}
.hero-media.ph{aspect-ratio:4/3;width:100%}
/* product photos (vendor photos) */
.media-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.card .media-photo { border-bottom: 1px solid var(--line, #e5e7eb); }
.gallery { margin: 0; }
.gallery-main .media-photo { border-radius: 16px; border: 1px solid var(--line, #e5e7eb); aspect-ratio: 1 / 1; }
.gallery-cap { font-size: .85rem; color: var(--muted, #555); margin: .5rem 0 0; }
.gallery-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .75rem 0 0; }
.gallery-thumbs .thumb, .gallery-variants .thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; width: 64px; height: 64px; overflow: hidden; }
.gallery-thumbs .thumb[aria-current="true"], .gallery-variants .thumb[aria-current="true"] { border-color: var(--teal, #0d7f7a); }
.thumb-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-variants { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.gallery-variants p { width: 100%; margin: 0; font-size: .85rem; }
.photo-btn { margin-left: .4rem; font: inherit; font-size: .8rem; padding: .1rem .5rem; border: 1px solid var(--teal, #0d7f7a); border-radius: 999px; background: #fff; color: var(--teal-dark, #075e5a); cursor: pointer; }
.photo-btn:focus-visible, .thumb:focus-visible { outline: 3px solid var(--amber, #f5a524); outline-offset: 2px; }
.gallery-colors { margin-top: .75rem; } .gallery-colors summary { cursor: pointer; color: var(--teal-dark); font-weight: 600; }
