/* GENERATED by store/tools/build_css.py from landing/printshop.css — edit the landing file, not this one. */
/* ==========================================================================
   printshop.com: The Print Shop's own storefront.
   Layered over broderbund.css; swaps the chrome to The Print Shop identity
   from the Encore brand guidelines: Deluxe blue #004A8F, Professional gold
   #FCAF17, Myriad Pro (web alternative Ubuntu).
   ========================================================================== */
:root {
  --accent: #004a8f;
  --accent-text: #004a8f;
  --accent-soft: #e5edf6;
  --logo: #004a8f;
  --gold: #fcaf17;
  --gold-ink: #3b2a00;
  --ground: #edf2f8;
  --font-display: "Myriad Pro", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Myriad Pro", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Myriad Pro", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
}

.bb-logo { width: clamp(150px, 15vw, 188px); }
.bb-hero h1 { letter-spacing: -0.02em; }

/* ---------- banner maker (home hero) ---------- */
.ps-maker { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: end; margin-top: 1rem; }
.ps-maker label { display: grid; gap: 0.35rem; font: 700 0.8rem var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ps-maker input {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: var(--radius); border: 2px solid var(--rule-strong);
  background: var(--surface); color: var(--ink); font: 700 1.15rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.ps-maker input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.ps-maker .bb-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.ps-maker__hint { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }

/* the gold is The Print Shop Professional colour: used for the one highlight per page */
.bb-edition--pick { border-color: var(--accent); }
.bb-edition__flag { background: var(--gold); color: var(--gold-ink); }
.bb-new { color: #b36b00; }

/* ---------- which-one helper (compare page) ---------- */
.ps-quiz { display: grid; gap: 1.25rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); }
.ps-quiz fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ps-quiz legend { font: 700 1.05rem var(--font-display); color: var(--ink); margin-bottom: 0.2rem; padding: 0; }
.ps-quiz__opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ps-quiz__opts label { position: relative; }
.ps-quiz__opts input { position: absolute; opacity: 0; inset: 0; }
.ps-quiz__opts span {
  display: inline-block; padding: 0.55rem 0.95rem; border-radius: 99px; border: 1.5px solid var(--rule-strong);
  font: 600 0.92rem var(--font-ui); color: var(--ink-soft); background: var(--paper); cursor: pointer;
}
.ps-quiz__opts input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.ps-quiz__opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.ps-answer { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; align-items: center; border-top: 1px dashed var(--rule-strong); padding-top: 1.1rem; }
.ps-answer img { width: 96px; filter: drop-shadow(0 8px 10px rgba(18, 26, 51, 0.2)); }
.ps-answer h3 { font-size: var(--step-1); font-weight: 700; }
.ps-answer p { color: var(--ink-soft); margin-top: 0.3rem; }
.ps-answer .bb-btn { margin-top: 0.7rem; }

/* ---------- learn page ---------- */
.ps-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; margin: 0; padding: 0; }
.ps-guides li { list-style: none; background: var(--surface); padding: 1.15rem 1.25rem 1.25rem; display: grid; gap: 0.35rem; align-content: start; }
.ps-guides h3 { font-size: 1.05rem; font-weight: 700; }
.ps-guides p { font-size: 0.93rem; color: var(--ink-soft); }
.ps-guides .bb-mono { font-size: 0.74rem; color: var(--muted); }
.ps-steps { counter-reset: step; list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
/* block, not grid: in a grid every <strong>/<code> and text run of a step became its own cell (Learn page, fixed 2026-10-06) */
.ps-steps li { counter-increment: step; position: relative; display: block; min-height: 1.8rem; padding: 0.1rem 0 0 2.6rem; color: var(--ink-soft); }
.ps-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #fff; font: 700 0.9rem var(--font-ui); }
.ps-steps code { font-family: var(--font-mono); background: var(--surface-sunk); padding: 0.05rem 0.35rem; border-radius: 3px; color: var(--ink); }

@media (max-width: 960px) { .ps-guides { grid-template-columns: minmax(0, 1fr); } .ps-maker { grid-template-columns: minmax(0, 1fr); } }

/* ---------- short videos (modern page; same component as printmaster.css .pm-video) ---------- */
.ps-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ps-video { display: grid; gap: 0.55rem; align-content: start; color: var(--ink); text-decoration: none; }
.ps-video__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: #0a2540; }
.ps-video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.ps-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ps-video__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0, 74, 143, 0.85); border: 2px solid #fff; display: grid; place-items: center; color: #fff; }
.ps-video__play svg { width: 24px; height: 24px; fill: currentColor; }
.ps-video h3 { font: 700 1rem var(--font-ui); letter-spacing: 0; }
.ps-video p { font-size: 0.88rem; color: var(--muted); }
a.ps-video:hover h3 { color: var(--accent-text); }
.ps-video--feature { grid-column: span 3; }
.ps-video--feature .ps-video__frame { max-width: 860px; }
@media (max-width: 960px) { .ps-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ps-video--feature { grid-column: span 2; } }
@media (max-width: 600px) { .ps-videos { grid-template-columns: minmax(0, 1fr); } .ps-video--feature { grid-column: auto; } }

/* ---------- header dropdowns: boxes and prices (tools/printshop_menus.py, 2026-10-06) ----------
   The panel hangs off the nav's .bb-wrap (position: relative), full width; opens on hover and keyboard focus. Desktop only: the
   960px hamburger menu keeps plain links. Selectors are long to beat ".bb-header .bb-nav ul/a" without !important. */
.bb-header .bb-nav li.bb-nav__has-menu { position: static; }
.bb-header .bb-nav .bb-mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr); gap: 1.75rem; padding: 1.4rem 1.5rem 1.5rem;
  background: var(--paper, #fff); border: 1px solid var(--rule); border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 28px 44px -26px rgba(10, 30, 60, 0.5);
}
.bb-header .bb-nav li.bb-nav__has-menu:hover > .bb-mega,
.bb-header .bb-nav li.bb-nav__has-menu:focus-within > .bb-mega { display: grid; }
.bb-header .bb-nav li.bb-nav__has-menu:hover > a { border-bottom-color: var(--accent); }
.bb-header .bb-nav .bb-mega a { display: inline; padding: 0; border: 0; font-size: inherit; }
.bb-mega__head { display: grid; gap: 0.55rem; align-content: start; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.bb-mega__title { font: 800 1.15rem/1.2 var(--font-display); color: var(--ink); }
.bb-mega__links { display: grid; gap: 0.35rem; margin-top: 0.35rem; }
.bb-header .bb-nav .bb-mega .bb-mega__links a { color: var(--accent-text); font-weight: 700; }
.bb-header .bb-nav .bb-mega .bb-mega__links a::after { content: " \203A"; }
.bb-header .bb-nav .bb-mega ul.bb-mega__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.bb-header .bb-nav .bb-mega ul.bb-mega__items--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 44rem; }
.bb-header .bb-nav .bb-mega a.bb-mega__item {
  display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.9rem; align-items: start; height: 100%;
  padding: 0.8rem; border: 1px solid transparent; border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
.bb-header .bb-nav .bb-mega a.bb-mega__item:hover, .bb-header .bb-nav .bb-mega a.bb-mega__item:focus-visible { background: var(--accent-soft); border-color: var(--rule); }
.bb-mega__item img { width: 4.6rem; height: auto; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(10, 30, 60, 0.45); background: #fff; }
.bb-mega__item > span { display: grid; gap: 0.2rem; }
.bb-mega__kicker { font: 700 0.68rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bb-mega__name { font: 700 1rem/1.25 var(--font-ui); color: var(--ink); }
.bb-mega__note { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); }
.bb-mega__price { margin-top: 0.25rem; font: 800 1.05rem var(--font-ui); color: var(--accent-text); }
.bb-mega__price:empty { display: none; }
@media (max-width: 1180px) { .bb-header .bb-nav .bb-mega { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .bb-mega__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; } }
@media (max-width: 960px) { .bb-header .bb-nav .bb-mega { display: none !important; } }

/* Learn dropdown: link columns + one feature tile (printshop_menus.py LEARN) */
.bb-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(13rem, 15rem); gap: 1.5rem; align-items: start; }
.bb-mega__coltitle { margin-bottom: 0.5rem; font: 700 0.7rem var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bb-header .bb-nav .bb-mega .bb-mega__col ul { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.bb-header .bb-nav .bb-mega .bb-mega__col a { display: block; padding: 0.35rem 0.5rem; margin-left: -0.5rem; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: 0.93rem; line-height: 1.35; }
.bb-header .bb-nav .bb-mega .bb-mega__col a:hover, .bb-header .bb-nav .bb-mega .bb-mega__col a:focus-visible { background: var(--accent-soft); color: var(--accent-text); }
.bb-header .bb-nav .bb-mega a.bb-mega__feature { display: grid; gap: 0.25rem; padding: 0.6rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface, #fff); color: var(--ink); text-decoration: none; }
.bb-header .bb-nav .bb-mega a.bb-mega__feature:hover { border-color: var(--accent); }
.bb-mega__feature img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 0.35rem; }
@media (max-width: 1180px) { .bb-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bb-mega__feature { display: none !important; } }

/* ---------- printing a banner ---------- */
@media print {
  @page { size: landscape; margin: 0.35in; }
  body * { visibility: hidden !important; }
  .ps-print, .ps-print * { visibility: visible !important; }
  .ps-print { position: absolute; left: 0; top: 0; width: 100%; }
  .ps-print .bb-banner { width: 100% !important; height: 3.4in !important; box-shadow: none !important; }
  .ps-print .bb-banner-caption { display: none; }
}

.ps-hero__head { display: grid; gap: 0.7rem; max-width: 70ch; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.ps-hero__head h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.02em; }
.ln-reasons--one { grid-template-columns: minmax(0, 1fr); max-width: 70ch; }
.ps-versions th small { display: block; font: 500 0.78rem var(--font-mono); color: var(--muted); }
.ps-versions td:first-of-type { text-align: left; }

.lr-title { font-size: var(--step-4); font-weight: 700; margin-top: 0.6rem; max-width: 20ch; letter-spacing: -0.02em; }

/* ---------- Avery section, TPS 8 feature tour, PrintMaster 2022 (2026-10-06, PRINTSHOP-CONTENT-GAP G2/G5/G8) ---------- */
.ps-avery__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center;
  background: var(--surface, #fff); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 2rem); }
.ps-avery__intro { display: grid; gap: 0.6rem; }
.ps-avery__logo { width: min(19rem, 100%); height: auto; }
.ps-avery__intro h2 { font-size: var(--step-2); font-weight: 700; }
.ps-avery__intro p { color: var(--ink-soft); }
.ps-avery__links { font-size: 0.92rem; }
.ps-avery__types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem 0.6rem; margin: 0; padding: 0; list-style: none; }
.ps-avery__types li { display: grid; justify-items: center; gap: 0.35rem; text-align: center; font: 600 0.85rem/1.25 var(--font-ui); color: var(--ink); }
.ps-avery__types img { width: 52px; height: 52px; object-fit: contain; }
@media (max-width: 760px) { .ps-avery__card { grid-template-columns: minmax(0, 1fr); } .ps-avery__types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ps-tour { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ps-tour li { display: grid; align-content: start; gap: 0.4rem; background: var(--surface, #fff); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; }
.ps-tour li > img { width: 56px; height: 56px; object-fit: contain; }
.ps-tour--shots li > img { width: 100%; height: auto; border-radius: 4px; }
.ps-tour h3 { font-size: var(--step-0, 1rem); font-weight: 700; }
.ps-tour h3 small { display: inline-block; margin-left: 0.35rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--gold, #FCAF17); color: var(--gold-ink, #2b1d00); font: 700 0.68rem var(--font-ui); letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.ps-tour p { color: var(--ink-soft); font-size: 0.93rem; }
.ps-tour__sub { margin-top: clamp(2rem, 5vw, 3rem); }
.ps-edits { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.ps-edits li { display: grid; gap: 0.3rem; font: 600 0.85rem var(--font-ui); color: var(--ink); text-align: center; }
.ps-edits img { width: 100%; height: 8.5rem; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); background: #fff; }
.ps-edits--wide { grid-column: span 2; }
.ps-tour__more { margin-top: clamp(2rem, 5vw, 3rem); }
.ps-tour__more img { max-width: 100%; height: auto; margin-bottom: 0.6rem; }
.ps-tour__icons { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; }
.ps-tour__icons img { width: 48px; height: 48px; object-fit: contain; margin: 0; }
.ps-pm22__banner { width: 100%; height: auto; border-radius: var(--radius); margin-top: 0.5rem; }
.ps-pm22__also { margin-top: 1rem; color: var(--ink-soft); }
.ps-pm22__guide { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
@media (max-width: 520px) { .ps-edits--wide { grid-column: span 1; } }
.ps-make-more { margin-top: 1.1rem; color: var(--ink-soft); max-width: 75ch; }

/* ---------- template and screenshot strips in each section (tools/ps_templates.py, 2026-10-11) ---------- */
.ps-tplstrip { display: grid; gap: clamp(0.75rem, 2vw, 1.25rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.ps-tplstrip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ps-tplstrip--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ps-tplstrip figure { margin: 0; display: grid; gap: 0.5rem; padding: 0.55rem 0.55rem 0.8rem; background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(18, 26, 51, 0.05), 0 10px 22px rgba(18, 26, 51, 0.07); }
.ps-tplstrip img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px;
  background: linear-gradient(150deg, #f4f7fd 0%, #dbe5f6 100%); }
.ps-tplstrip figcaption { font: 600 0.88rem var(--font-ui); color: var(--ink-soft); padding-inline: 0.25rem; }
@media (max-width: 900px) { .ps-tplstrip--3, .ps-tplstrip--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ps-tplstrip--3, .ps-tplstrip--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- project cards with photos instead of line icons (same look as bb.encore.com) ---------- */
.bb-make { gap: clamp(0.9rem, 2vw, 1.4rem); background: transparent; border: 0; border-radius: 0; overflow: visible; }
.bb-make > li { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 0.7rem 0.7rem 1.15rem;
  box-shadow: 0 1px 2px rgba(18, 26, 51, 0.05), 0 10px 22px rgba(18, 26, 51, 0.06); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.bb-make > li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 26, 51, 0.06), 0 16px 30px rgba(18, 26, 51, 0.12); }
.bb-make .bb-make__art { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: 6px; margin-bottom: 0.65rem;
  background: linear-gradient(150deg, #f4f7fd 0%, #dbe5f6 100%); }
.bb-make .bb-make__art img { width: 100%; height: 100%; object-fit: contain; padding: 0.55rem; box-sizing: border-box; filter: drop-shadow(0 6px 10px rgba(18, 26, 51, 0.22)); }
.bb-make > li > h3, .bb-make > li > p, .bb-make > li > .bb-mono { padding-inline: 0.5rem; }
@media (prefers-reduced-motion: reduce) { .bb-make > li { transition: none; } .bb-make > li:hover { transform: none; } }
