:root {
  --ink: #121820;
  --ink-2: #3d4652;
  --muted: #69717d;
  --line: #e2e6ea;
  --bg: #ffffff;
  --bg-2: #f4f7f9;
  --cyan: #00aeef;       /* logo cyan */
  --cyan-dk: #0098d4;
  --magenta: #0079b0;    /* deep logo cyan (secondary accent) */
  --yellow: #8fdcf8;     /* light logo cyan (tertiary accent) */
  --brand: #0079b0;      /* text-safe logo blue for links/accents */
  --brand-dk: #005f8a;
  --tint: #e6f6fd;
  --ok: #0f8a5f;
  --warn: #b5530b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 24, 32, .06), 0 8px 24px rgba(18, 24, 32, .08);
  --c1: #00aeef;
  --c2: #cdeefb;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: Poppins, var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.mt { margin-top: 1.4em; }
.mt-lg { margin-top: 2.5rem; }
.pt0 { padding-top: 0 !important; }
.pre { white-space: pre-wrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--cyan); color: var(--ink); border: 2px solid var(--cyan); padding: .7em 1.3em; border-radius: 999px; font: 700 .95rem var(--font); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-decoration: none !important; }
.btn:hover { background: var(--cyan-dk); border-color: var(--cyan-dk); color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 174, 239, .25); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: .85em 1.7em; font-size: 1.02rem; }
.btn-sm { padding: .45em 1em; font-size: .85rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-2); color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }

/* top bar + header */
.topbar { background: var(--ink); color: #c9d1e3; font-size: .85rem; }
.topbar a { color: #fff; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 1rem; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 1.1rem; }
.tb-phone { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.logo { color: var(--ink); display: inline-flex; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: auto; }
/* Logo has black tagline text, so show it all-white on the dark footer */
.logo-light img { filter: brightness(0) invert(1); }
.search { flex: 1; max-width: 460px; margin-left: auto; display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; border: 0; background: transparent; padding: .6em 1.1em; font: inherit; outline: none; min-width: 0; }
.search button { border: 0; background: transparent; padding: 0 1em; cursor: pointer; color: var(--ink-2); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,174,239,.12); }
.cart-btn { display: inline-flex; align-items: center; gap: .4em; color: var(--ink); font-weight: 600; position: relative; padding: .4em .6em; border-radius: 10px; }
.cart-btn:hover { background: var(--bg-2); text-decoration: none; }
.cart-count { background: var(--magenta); color: #fff; font-size: .72rem; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 5px; }
[hidden] { display: none !important; }
.nav { border-top: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: .25rem; height: 48px; }
.nav a, .dd-btn { color: var(--ink-2); font-weight: 600; font-size: .93rem; padding: .5em .85em; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font); display: inline-flex; align-items: center; gap: .35em; }
.nav a:hover, .dd-btn:hover, .nav a.on { color: var(--brand); background: var(--tint); text-decoration: none; }
.nav > .wrap > a:first-of-type { }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; min-width: 220px; display: none; z-index: 60; }
.dd-menu a { display: block; padding: .45em .8em; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd-mega { display: none; width: min(1000px, 92vw); padding: 1.2rem; grid-template-columns: repeat(3, 1fr); gap: .2rem 1.5rem; }
.dd:hover .dd-mega, .dd:focus-within .dd-mega, .dd.open .dd-mega { display: grid; }
.mega-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .6rem 0 .2rem .8rem; }
.mega-col a { font-weight: 500; font-size: .88rem; padding: .25em .8em; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .4rem; }
.mega-foot .btn { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.demo-bar { background: #fff6cc; color: #6a5300; text-align: center; font-size: .85rem; padding: .4em 1em; border-bottom: 1px solid #f1e3a1; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%); padding: 3.5rem 0 2rem; }
.hero-bg .dot { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .22; }
.hero-bg .c { width: 420px; height: 420px; background: var(--cyan); top: -140px; right: 8%; }
.hero-bg .m { width: 360px; height: 360px; background: var(--magenta); top: 120px; right: -120px; }
.hero-bg .y { width: 300px; height: 300px; background: var(--yellow); bottom: -150px; left: 30%; opacity: .3; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; font-weight: 700; letter-spacing: .12em; font-size: .78rem; color: var(--magenta); margin-bottom: .7rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hl { background: linear-gradient(90deg, var(--magenta), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-art { position: relative; height: 360px; }
.stack .sheet { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: grid; place-items: center; padding: 18px; color: var(--ink); transition: transform .4s; }
.stack .sheet svg { width: 100%; height: 100%; }
.s1 { width: 200px; height: 240px; left: 8%; top: 20px; transform: rotate(-8deg); --c1: var(--cyan); --c2: #d7f1fc; }
.s2 { width: 190px; height: 140px; right: 4%; top: 0; transform: rotate(6deg); --c1: var(--magenta); --c2: #cdeefb; }
.s3 { width: 230px; height: 130px; right: 10%; bottom: 20px; transform: rotate(-3deg); --c1: var(--magenta); }
.s4 { width: 130px; height: 130px; left: 30%; bottom: 0; transform: rotate(10deg); --c1: var(--cyan); --c2: #e3f6fd; }
.hero-art:hover .s1 { transform: rotate(-12deg) translateY(-6px); }
.hero-art:hover .s2 { transform: rotate(10deg) translateY(-6px); }
.badges { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.badge { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.badge b { display: block; font-family: var(--display); }
.badge span { color: var(--muted); font-size: .9rem; }
.b-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; color: #fff; background: var(--magenta); }
.badge:nth-child(2) .b-ic { background: var(--cyan); color: var(--ink); }
.badge:nth-child(3) .b-ic { background: var(--yellow); color: var(--ink); }

/* sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.sec-head p { color: var(--muted); }
.page-head { padding: 3rem 0 2rem; background: linear-gradient(180deg, #f6f9fd, #fff); }
.page-head p { color: var(--ink-2); font-size: 1.08rem; max-width: 46em; }
.page-head.slim { padding: 1.2rem 0 .8rem; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.group-title { font-size: 1.3rem; margin: 2rem 0 1rem; }
.group-title:first-child { margin-top: 0; }
.grid { display: grid; gap: 1.2rem; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tiles.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; text-decoration: none; }
.tile-art { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18px; color: var(--ink); }
.tile-art svg { width: 46%; height: auto; transition: transform .3s; }
.tile:hover .tile-art svg { transform: scale(1.08) rotate(-3deg); }
.t-0 { background: #e8f6fd; --c1: var(--magenta); --c2: #b9e6fa; }
.t-1 { background: #eaf4f9; --c1: var(--cyan); --c2: #cdeefb; }
.t-2 { background: #f1f4f7; --c1: var(--magenta); --c2: #9fdcf5; }
.t-3 { background: #eef0f6; --c1: var(--cyan); --c2: #d5dbea; }
.tile-body { padding: .9rem 1.1rem 1.1rem; }
.tile-body h3 { font-size: 1.02rem; margin-bottom: .2em; }
.tile-body p { color: var(--muted); font-size: .88rem; margin: 0; }
.tile-all .tile-art { background: var(--ink); color: #fff; font: 800 2.6rem var(--display); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 2px rgba(0,0,0,.03); margin-bottom: 1.2rem; }
.card-panel h3:not(:first-child) { margin-top: 1.3rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 1.7em; margin: .35em 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.cols-2 { columns: 2; column-gap: 2rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pills span { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; font-size: .88rem; font-weight: 500; }
.res { grid-template-columns: repeat(3, 1fr); }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.res-card a { display: block; padding: .4em 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.res-card a:last-child { border: 0; }
.res-steps { background: var(--ink); color: #dfe5f2; border-color: var(--ink); }
.res-steps h3 { color: #fff; }
.res-steps ol { padding-left: 1.2em; margin: 0; }
.res-steps li { margin: .5em 0; }
.res-steps b { color: #fff; }
.testimonial-empty { text-align: center; color: var(--muted); }
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--magenta); }
.feature:nth-child(2) { border-top-color: var(--cyan); }
.feature:nth-child(3) { border-top-color: var(--yellow); }
.feature:nth-child(4) { border-top-color: var(--ink); }
.prose h3 { margin-top: 1.5em; }
.steps { padding-left: 1.2em; }
.steps li { margin: .5em 0; }
.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: start; }
.big-link { font: 700 1.35rem var(--display); color: var(--ink); }
.legal h3 { font-size: 1.1rem; }
.legal li p { margin: .2em 0; }
.toc, .az { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; }
.toc a, .az a { border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; font-size: .88rem; font-weight: 600; color: var(--ink-2); background: #fff; }
.az a { min-width: 2.2em; text-align: center; padding: .3em .55em; }
.toc a:hover, .az a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.glossary h2 { font-size: 1.4rem; border-bottom: 2px solid var(--line); padding-bottom: .2em; margin-top: 1.6em; scroll-margin-top: 90px; }
.glossary dt { font-weight: 700; margin-top: .9em; }
.glossary dd { margin: .2em 0 0; color: var(--ink-2); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 90px; }
.feedback-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem 2rem; }
.sitemap h3 { font-size: 1rem; margin: 1.2em 0 .4em; }
.sitemap > div > h3:first-child { margin-top: 0; }
.sitemap a { display: block; padding: .15em 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: .7rem; background: #fff; }
.faq summary { font-weight: 600; cursor: pointer; font-family: var(--display); }
.faq details p { margin: .7em 0 0; color: var(--ink-2); }
.empty { text-align: center; padding: 3rem 0; }

/* CTA + footer */
.cta-band { background: linear-gradient(110deg, var(--ink), #0a4a6e 55%, var(--brand)); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.4rem 0; flex-wrap: wrap; }
.cta-in h3 { font-size: 1.6rem; margin-bottom: .2em; }
.cta-in p { margin: 0; opacity: .9; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.footer { background: var(--ink); color: #aeb8cf; padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.footer a { color: #dfe5f2; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid > div > a:not(.logo) { display: block; padding: .2em 0; }
.footer address { font-style: normal; margin-bottom: 1em; }
.social { display: flex; gap: .6rem; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social a:hover { background: var(--magenta); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }

/* forms */
.field { display: block; margin-bottom: .9rem; }
.field > span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: .3rem; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea { width: 100%; font: inherit; color: var(--ink); padding: .65em .85em; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,174,239,.12); }
.invalid { border-color: #d33 !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: .3em; accent-color: var(--brand); }
.note { border-radius: 10px; padding: .8rem 1rem; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 1rem; font-size: .93rem; }
.note.ok { background: #e9f8f1; border-color: #bfe8d6; color: #0b5e41; }
.note.warn { background: #fff4e8; border-color: #f6d3ad; color: #7a3a06; }
.cfg-msg { min-height: 1.2em; font-size: .9rem; margin: .6rem 0 0; }
.cfg-msg.err { color: #c1121f; }
.cfg-msg.ok { color: var(--ok); }
.spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* product page */
.product-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.product-art { border-radius: 20px; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 1.5rem; }
.product-art svg { width: 42%; }
.help-box { background: var(--bg-2); border-radius: 12px; padding: 1rem 1.2rem; font-size: .93rem; }
.help-box p { margin: .3em 0 0; }
.configurator { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow); position: sticky; top: 140px; }
.cfg-loading { padding: 2rem 0; text-align: center; color: var(--muted); }
.cfg-step { margin-bottom: 1.4rem; }
.cfg-step h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
.n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip { border: 1px solid var(--line); background: #fff; padding: .35em .9em; border-radius: 999px; cursor: pointer; font: 500 .85rem var(--font); color: var(--ink-2); }
.chip:hover { border-color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.opt-grid .full { grid-column: 1 / -1; }
.fixed-attrs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .88rem; color: var(--ink-2); margin-bottom: .9rem; }
.fixed-attrs b { color: var(--ink); }
.price-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg-2); border-radius: 14px; padding: 1.1rem 1.3rem; }
.pb-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.pb-price { font: 800 2rem var(--display); line-height: 1.1; }
.pb-note { font-size: .82rem; color: var(--muted); }
.pb-price.loading { opacity: .4; }

/* cart & checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; background: #fff; align-items: start; }
.ci-art { width: 84px; height: 84px; border-radius: 12px; display: grid; place-items: center; padding: 12px; }
.ci-art svg { width: 100%; }
.cart-item h3 { font-size: 1rem; margin-bottom: .3em; }
.ci-price { text-align: right; font: 700 1.1rem var(--display); }
.ci-price button { display: block; margin-top: .5rem; margin-left: auto; font-size: .82rem; color: var(--muted); }
.ci-price button:hover { color: #c1121f; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; font-size: .86rem; margin: 0 0 .5rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.summary.sticky { position: sticky; top: 140px; }
.sum-row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sum-row.total { font-size: 1.15rem; border-bottom: 0; padding-top: .8rem; }
.sum-line { font-size: .86rem; display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; color: var(--ink-2); }
.co-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 0 0 1.2rem; background: #fff; }
.co-step legend { font: 700 1.1rem var(--display); padding: 0 .4rem; display: flex; align-items: center; gap: .6rem; }
.seg { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.seg label { border: 1px solid var(--line); border-radius: 10px; padding: .6em 1em; cursor: pointer; display: flex; gap: .5em; align-items: center; font-weight: 500; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.seg input, .rates input { accent-color: var(--brand); }
.rates { display: grid; gap: .5rem; margin-top: 1rem; }
.rates label { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 10px; padding: .7em 1em; cursor: pointer; }
.rates label:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.rates .r-name { flex: 1; }
.rates .r-name small { display: block; color: var(--muted); }
.rates b { font-family: var(--display); }
.art-item { border: 1px dashed #cfd6e4; border-radius: 12px; padding: 1rem; margin-bottom: .8rem; }
.art-item h4 { font-size: .95rem; margin-bottom: .6rem; }
.art-files { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.drop { display: block; border: 1px solid var(--line); background: var(--bg-2); border-radius: 10px; padding: .7rem .9rem; font-size: .88rem; cursor: pointer; }
.drop span { display: block; font-weight: 600; margin-bottom: .3rem; }
.drop input { font-size: .82rem; width: 100%; }
.drop.has { border-color: var(--ok); background: #eefaf4; }
.order-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; }
.timeline { border-left: 3px solid var(--magenta); padding-left: 1rem; margin-bottom: 1rem; }
.timeline ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.timeline li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .2rem 0; }
.timeline time { color: var(--muted); }
.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; background: var(--bg-2); vertical-align: middle; font-family: var(--font); }
.s-submitted, .s-paid { background: #e9f8f1; color: #0b5e41; }
.s-pending_payment { background: #fff6cc; color: #6a5300; }
.s-submit_failed { background: #fde8e8; color: #9b1c1c; }
.s-cancelled { background: #eee; color: #555; }

/* admin */
.admin-head { background: var(--ink); color: #fff; }
.admin-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.admin-head nav { display: flex; gap: 1.2rem; align-items: center; }
.admin-head a { color: #dfe5f2; }
.logo-sm { display: inline-flex; align-items: center; gap: .6rem; font: 700 .8rem var(--display); color: #fff !important; text-transform: uppercase; letter-spacing: .12em; }
.logo-sm:hover { text-decoration: none; }
/* Dark admin bar: show the logo all-white so its black tagline stays readable */
.logo-sm img { display: block; height: 34px; width: auto; filter: brightness(0) invert(1); }
.logo-sm span { border-left: 1px solid rgba(255,255,255,.35); padding-left: .6rem; }
main.admin { padding: 2rem 0 4rem; background: var(--bg-2); min-height: 80vh; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--bg-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.admin-grid { display: grid; grid-template-columns: 360px 1fr; gap: 1.2rem; align-items: start; }
.raw { font-size: .78rem; background: var(--bg-2); padding: 1rem; border-radius: 8px; overflow: auto; max-height: 360px; }
.hist { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.hist li { padding: .3rem 0; border-bottom: 1px solid var(--line); }
.hist time { color: var(--muted); margin-right: .6rem; }
.hist li.is-note { background: #fffbe6; padding-inline: .5rem; border-radius: 6px; }

/* admin v2 */
.admin-head { position: sticky; top: 0; z-index: 40; }
.admin-head .admin-head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding: .4rem 20px; }
.admin-head .admin-head-in .logo-sm { margin-right: auto; }

/* left nav */
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 58px); background: var(--bg-2); }
.admin-shell.no-side { grid-template-columns: 1fr; }
.admin-shell main.admin { min-width: 0; }
.admin-shell main.admin .wrap { width: min(1240px, 100% - 48px); }
.admin-side { background: #fff; border-right: 1px solid var(--line); }
.admin-side nav { position: sticky; top: 58px; max-height: calc(100vh - 58px); overflow-y: auto; padding: 1rem .7rem 2rem; display: flex; flex-direction: column; gap: 2px; }
.side-top { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none; user-select: none; }
.side-top::-webkit-details-marker { display: none; }
.side-top svg:first-child { flex: none; color: var(--muted); }
.side-top span { flex: 1; }
.side-top:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
a.side-top.on, .side-sec.on > .side-top { color: var(--ink); }
a.side-top.on { background: #d6f1fc; }
a.side-top.on svg, .side-sec.on > .side-top svg:first-child { color: var(--brand); }
.side-caret { color: var(--muted); transition: transform .15s; }
.side-sec[open] > .side-top .side-caret { transform: rotate(90deg); }
.side-sub { display: flex; flex-direction: column; margin: 2px 0 6px 1.55rem; padding-left: .65rem; border-left: 1px solid var(--line); }
.side-sub a { padding: .36rem .6rem; border-radius: 6px; color: var(--ink-2); font-size: .87rem; }
.side-sub a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.side-sub a.on { background: #d6f1fc; color: var(--brand-dk); font-weight: 600; }
.admin-side-toggle { display: none; width: 38px; height: 38px; border: 0; background: transparent; padding: 9px 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.admin-side-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side-toggle { display: flex; }
  .admin-side { display: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-side.open { display: block; }
  .admin-side nav { position: static; max-height: none; }
  .admin-shell main.admin .wrap { width: min(1240px, 100% - 32px); }
  .admin-head .admin-head-in { padding: .4rem 12px; gap: .6rem; }
  .admin-user a, .admin-user .linkbtn { white-space: nowrap; }
}
@media (max-width: 520px) {
  .logo-sm span, .admin-user a[target="_blank"] { display: none; }
}

/* admin settings pages */
.profile-list { display: flex; flex-direction: column; gap: .5rem; }
.profile-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.profile-opt:hover { border-color: var(--ink-2); }
.profile-opt.on, .profile-opt:has(input:checked) { border-color: var(--brand); background: #f2fbff; }
.profile-opt input { margin-top: .3rem; }
.kpi b.small-b { font-size: 1rem; line-height: 1.5; }
.admin-user { display: flex; gap: 1rem; align-items: center; font-size: .85rem; }
.admin-user form { margin: 0; }
.admin-user .linkbtn { color: #dfe5f2; }
main.admin h1 { font-size: 1.7rem; }
main.admin .card-panel { padding: 1.2rem 1.3rem; }
.flash { margin-bottom: 1rem; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.row-between h1, .row-between h3 { margin-bottom: .4rem; }
.row-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; }
.num { text-align: right !important; white-space: nowrap; }
.text-bad { color: #b42318; font-weight: 600; }
.big { font: 700 1.8rem var(--display); margin: .2rem 0 .5rem; }
.pre { white-space: pre-wrap; margin: 0; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #e6f4fb; color: #075985; padding: .05em .5em; border-radius: 4px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; color: var(--ink); display: flex; flex-direction: column; }
.kpi:hover { text-decoration: none; border-color: var(--brand); }
.kpi b { font: 700 1.6rem var(--display); }
.kpi span { font-size: .8rem; color: var(--muted); }
.kpi.warn b { color: var(--warn); }
.kpi.dark { background: var(--ink); color: #fff; grid-column: span 2; }
.kpi.dark span { color: #c8d0e0; }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.msg-mini { border-bottom: 1px solid var(--line); padding: .5rem 0; font-size: .9rem; }
.msg.handled { opacity: .65; }
.status-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0 1rem; }
.status-tabs a { padding: .35em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; }
.status-tabs a:hover { text-decoration: none; border-color: var(--ink-2); }
.status-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.status-tabs a .muted { font-size: .8em; }
.status-tabs.sub a { font-size: .78rem; padding: .25em .7em; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.filters input, .filters select, .mass-bar select, .row-form input, .row-form select, .inline-field input { padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; background: #fff; }
.filters input, .filters select, .mass-bar select, .row-form select, .coupon-row input { width: auto !important; }
.filters input[type=search], .filters input[name=q] { min-width: 220px; flex: 1; max-width: 360px; }
.mass-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .8rem 0; font-size: .88rem; }
.pager { display: flex; gap: .3rem; margin-top: 1rem; flex-wrap: wrap; }
.pager a { padding: .3em .7em; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: .85rem; }
.pager a.on { background: var(--ink); color: #fff; }
.tbl.compact th, .tbl.compact td { padding: .45rem .6rem; }
.tbl tr.row-priority td:first-child { box-shadow: inset 3px 0 0 #d92d20; }
.tbl tr:hover td { background: #fafbfd; }
.order-head { margin-bottom: .8rem; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.2rem; align-items: start; }
.stack { display: flex; flex-direction: column; gap: .5rem; }
.stack input, .stack select, .stack textarea, .row-form input, textarea { padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; width: 100%; }
.stack label { font-size: .82rem; font-weight: 600; color: var(--ink-2); display: flex; flex-direction: column; gap: .25rem; }
.stack label.check { flex-direction: row; font-weight: 400; }
.stack label.check input { width: auto; }
.row-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.row-form input { width: auto !important; flex: 1; min-width: 90px; }
.highlight { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(0,174,239,.12); }
.proof-row { display: grid; grid-template-columns: 1fr minmax(220px, 300px); gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); align-items: start; }
.proof-row:first-of-type { border-top: 0; }
.totals { margin-top: .8rem; }
.totals > div { display: flex; justify-content: space-between; padding: .2rem 0; font-size: .92rem; }
.totals .grand { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .5rem; font-weight: 700; font-size: 1.05rem; }
.inline-field { display: flex; align-items: center; gap: .8rem; }
.inline-field > span { margin: 0; }
.inline-field input { width: 110px !important; }
.markup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .3rem .8rem; }
.markup-grid label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .85rem; padding: .2rem .4rem; border-radius: 6px; }
.markup-grid label.set { background: #eef9fe; font-weight: 600; }
.markup-grid input { width: 72px !important; padding: .3rem .4rem; border: 1px solid var(--line); border-radius: 6px; text-align: right; font: inherit; }
.checks-inline { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; font-weight: 400; }
.checks-scroll { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .15rem .8rem; font-size: .86rem; font-weight: 400; background: #fff; }
.checks-scroll label, .checks-inline label { display: flex; gap: .4rem; align-items: center; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.page-head .row-between p { margin: 0; }

/* order statuses */
.s-quote { background: #eef2ff; color: #3730a3; }
.s-pending { background: #fff6cc; color: #6a5300; }
.s-approved { background: #e0f2fe; color: #075985; }
.s-on_hold { background: #fde8e8; color: #9b1c1c; }
.s-pre_press { background: #f3e8ff; color: #6b21a8; }
.s-in_production, .s-prod { background: #e6f4fb; color: #075985; }
.s-in_review, .s-partially_completed { background: #fef3c7; color: #92400e; }
.s-completed { background: #e9f8f1; color: #0b5e41; }
.s-declined, .s-void { background: #eee; color: #555; text-decoration: line-through; }
.s-unpaid { background: #fff1f0; color: #b42318; }
.s-priority { background: #d92d20; color: #fff; }
.s-proof-pending { background: #fff6cc; color: #6a5300; }
.s-proof-approved { background: #e9f8f1; color: #0b5e41; }
.s-proof-changes_requested { background: #fde8e8; color: #9b1c1c; }
.s-lead-new_lead, .s-lead-contact_attempted { background: #fff6cc; color: #6a5300; }
.s-lead-contact_successful, .s-lead-meeting_scheduled, .s-lead-quote_presented { background: #e0f2fe; color: #075985; }
.s-lead-business_won, .s-lead-customer { background: #e9f8f1; color: #0b5e41; }
.s-lead-killed, .s-lead-business_lost { background: #eee; color: #555; }

/* responsive */
@media (max-width: 1000px) {
  .hero-in, .split, .product-layout, .support-grid { grid-template-columns: 1fr; }
  .hero-art { height: 280px; max-width: 460px; }
  .configurator, .summary.sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .res { grid-template-columns: 1fr; }
  .admin-grid, .admin-grid2, .order-grid, .account-grid { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }
  .tb-hours { display: none; }
}
@media (max-width: 560px) {
  .row2, .row3, .opt-grid, .art-files { grid-template-columns: 1fr; }
  .cols-2 { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-box { flex-direction: column; align-items: stretch; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .ci-art { width: 60px; height: 60px; }
  .ci-price { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .ci-price button { margin: 0; }
  .logo svg, .logo img { width: 140px; height: auto; }
  .section { padding: 2.8rem 0; }
}
.coupon-row { display: flex; gap: .5rem; margin-top: 1rem; }
.coupon-row input { flex: 1; min-width: 0; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; text-transform: uppercase; }
.addr-cands { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

/* ---------- product page (GotPrint-style) ---------- */
.gp-product { padding: 1.2rem 0 3rem; }
.gp-crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: .6rem; }
.gp-crumbs a { color: var(--cyan); }
.gp-crumbs .sep { margin: 0 .45em; color: var(--muted); }
.gp-crumbs b { color: var(--ink); }
.gp-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .15em; }
.gp-sub { color: var(--ink-2); margin: 0 0 1.4rem; }
.gp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }

.gp-gallery { min-width: 0; }
.gp-main { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / .85; padding: 0; border: 0; border-radius: 6px; background: #f1f3f6; overflow: hidden; cursor: zoom-in; }
.gp-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.gp-main:hover img { transform: scale(1.03); }
.gp-main-icon { cursor: default; }
.gp-main-icon svg { width: 40%; }
.gp-zoom-link { display: flex; align-items: center; gap: .3em; margin: .5rem 0 0 auto; background: none; border: 0; font: 500 .88rem var(--font); color: var(--ink-2); cursor: pointer; }
.gp-zoom-link:hover { color: var(--ink); text-decoration: underline; }
.gp-thumbs { display: flex; align-items: center; gap: .4rem; margin-top: .9rem; }
.gp-thumb-row { display: flex; gap: .6rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
.gp-thumb { flex: 0 0 calc((100% - 1.2rem) / 3); aspect-ratio: 1 / .85; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #f1f3f6; overflow: hidden; cursor: pointer; }
.gp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gp-thumb.on { border-color: var(--ok); }
.gp-arrow { border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--ink); cursor: pointer; padding: 0 .2rem; }
.gp-lightbox { border: 0; padding: 0; border-radius: 8px; max-width: min(92vw, 1100px); max-height: 92vh; background: #fff; }
.gp-lightbox::backdrop { background: rgba(10, 16, 30, .75); }
.gp-lightbox img { display: block; max-width: 100%; max-height: 88vh; object-fit: contain; }
.gp-lb-close { position: absolute; top: .4rem; right: .6rem; border: 0; background: rgba(255,255,255,.9); width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* config column: outlined "fieldset" boxes with a floating label */
.configurator.gp-config { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; position: static; }
.gp-field { position: relative; margin: 0 0 1.1rem; padding: .1rem .35rem .25rem; border: 1px solid #c9ced8; border-radius: 4px; transition: border-color .15s, box-shadow .15s; }
.gp-field legend { padding: 0 .35rem; margin-left: .2rem; font: 700 .8rem var(--font); color: var(--ink); }
.gp-field select { border: 0 !important; box-shadow: none !important; background-color: transparent; padding: .35em 2.6em .45em .3em; border-radius: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121820' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .55em center; background-size: 12px 8px; }
.gp-field:focus-within { border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(18,24,32,.08); }
.gp-field.is-set { border: 2px solid #8cc63f; }
.gp-field.is-set select { padding-right: 4.4em; text-overflow: ellipsis; }
.gp-field.is-set::after { content: ""; position: absolute; right: 2.1em; top: 50%; margin-top: -7px; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
  background: #8cc63f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.gp-opts .fixed-attrs { margin: -.2rem 0 1rem; padding: .6rem .8rem; background: var(--bg-2); border-radius: 4px; }
.gp-subtotal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #eceef1; border-radius: 4px; padding: .75rem 1rem; margin-top: .4rem; font-weight: 700; }
.gp-subtotal small { font-weight: 600; }
.gp-subtotal b { font: 800 1.35rem var(--display); }
.gp-subtotal b.loading { opacity: .4; }
.gp-each { text-align: right; font-size: .83rem; color: var(--muted); margin: .3rem 0 0; min-height: 1.3em; }
.gp-actions { display: flex; justify-content: center; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 10.5rem; padding: .7em 1.4em; border-radius: 999px; border: 0; background: #2e6da4; color: #fff; font: 700 .95rem var(--font); cursor: pointer; box-shadow: 0 2px 0 #1f4f79; transition: background .15s, transform .15s; text-decoration: none !important; }
.gp-btn:hover { background: #25598a; transform: translateY(-1px); }
.gp-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.gp-btn-alt { background: #fff; color: #2e6da4; box-shadow: inset 0 0 0 2px #2e6da4; }
.gp-btn-alt:hover { background: #eef4fa; color: #25598a; }
.gp-config .cfg-msg { text-align: center; }
.gp-guarantee { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.gp-guarantee svg { flex: none; color: #2e6da4; }
.gp-guarantee b { color: #2e6da4; }

/* info tabs */
.gp-tabs { margin-top: 3rem; }
.gp-tablist { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.gp-tablist button { flex: none; border: 1px solid #c9ced8; border-bottom: 0; background: #f6f7f9; border-radius: 4px 4px 0 0; padding: .7em 1.6em; font: 700 .92rem var(--font); color: var(--ink); cursor: pointer; position: relative; top: 1px; }
.gp-tablist button.on { background: #fff; box-shadow: inset 0 3px 0 #8cc63f; }
.gp-panel { border: 1px solid #c9ced8; border-radius: 0 4px 4px 4px; padding: 1.6rem 2rem; background: #fff; font-size: .93rem; }
.gp-specs-for { color: var(--muted); font-size: .85rem; }
.gp-specs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem 2.5rem; margin: 0; }
.gp-specs dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.gp-specs dt { font-weight: 700; color: var(--ink); }
.gp-specs dd { margin: 0; color: var(--ink-2); }
.gp-specs dd span { display: block; }

/* photo tiles */
.tile-photo { aspect-ratio: 16 / 10; background: #f1f3f6; overflow: hidden; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-photo img { transform: scale(1.05); }

@media (max-width: 860px) {
  .gp-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .gp-panel { padding: 1.2rem; }
  .gp-specs dl > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 480px) {
  .gp-actions .gp-btn { flex: 1 1 100%; }
  .gp-tablist button { padding: .6em 1em; }
}

/* ---------- header + category mega menu (Vistaprint/GotPrint-style) ---------- */
.topbar { background: #f3f4f6; color: var(--ink-2); font-size: .8rem; border-bottom: 1px solid var(--line); }
.topbar a { color: var(--ink-2); }
.topbar a:hover { color: var(--ink); }
.topbar-in { height: 34px; }
.topbar-l, .topbar-r { gap: 1.4rem; }
.tb-phone { color: var(--ink) !important; }
.header { background: #fff; backdrop-filter: none; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.header-in { height: 76px; gap: 1.6rem; }
.header .search { flex: 1; max-width: none; margin: 0; background: #fff; border: 1.5px solid #c9ced8; border-radius: 8px; }
.header .search input { padding: .7em 1em; font-size: .95rem; }
.header .search button { background: var(--ink); color: #fff; padding: 0 1.1em; border-radius: 0 6px 6px 0; }
.header .search button:hover { background: var(--brand); }
.header .search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18,24,32,.1); }
.hd-icons { display: flex; align-items: center; gap: .3rem; flex: none; }
.hd-ic { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .35rem .6rem; border-radius: 8px; color: var(--ink); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.hd-ic:hover { background: var(--bg-2); text-decoration: none; }
.hd-ic.cart-btn { flex-direction: column; gap: 2px; }
.hd-ic .cart-count { position: absolute; top: 0; right: .25rem; }
.nav-toggle { flex: none; }

.catnav { position: relative; border-top: 1px solid var(--line); background: #fff; }
.catnav-in { display: flex; justify-content: space-between; align-items: stretch; height: 50px; }
.cat { position: static; display: flex; }
.cat-link, .cat-btn { display: flex; align-items: center; gap: .35em; padding: 0 .7rem; border: 0; background: none; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; position: relative; }
.cat-link::after, .cat-btn::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .18s; }
.cat-link:hover, .cat-link.on, .cat:hover .cat-btn, .cat.open .cat-btn { color: var(--brand); text-decoration: none; }
.cat-link:hover::after, .cat-link.on::after, .cat:hover .cat-btn::after, .cat.open .cat-btn::after { transform: scaleX(1); }
.cat-caret { transition: transform .18s; opacity: .6; }
.cat:hover .cat-caret, .cat.open .cat-caret { transform: rotate(180deg); }
.cat-mobile-only { display: none; }
.cat-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px -12px rgba(18,24,32,.25); z-index: 70;
  visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.cat:hover .cat-panel, .cat.open .cat-panel, .cat:focus-within .cat-panel { visibility: visible; opacity: 1; transform: none; transition-delay: .1s, .1s, 0s; }
.cat-panel-in { display: flex; gap: 2.5rem; padding: 1.6rem 0 1.2rem; }
.cat-cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; align-content: start; }
.cat-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5rem; min-height: 1.2em; }
.cat-col a { display: block; padding: .32em 0; color: var(--ink); font-size: .92rem; }
.cat-col a:hover { color: var(--brand); }
.cat-feature { flex: 0 0 260px; display: flex; flex-direction: column; gap: .3rem; color: var(--ink); }
.cat-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #f1f3f6; margin-bottom: .4rem; transition: transform .3s; }
.cat-feature:hover { text-decoration: none; }
.cat-feature:hover img { transform: scale(1.02); }
.cat-feature b { font-family: var(--display); }
.cat-feature:hover b { color: var(--brand); }
.cat-feature span { font-size: .85rem; color: var(--muted); }
.cat-panel-foot { border-top: 1px solid var(--line); padding: .8rem 0 1rem; }
.cat-panel-foot a { font-weight: 700; font-size: .9rem; }
.cat-services { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; align-content: start; }
.cat-services a { display: block; padding: .8rem 1rem; border-radius: 10px; color: var(--ink); }
.cat-services a:hover { background: var(--bg-2); text-decoration: none; }
.cat-services b { display: block; font-family: var(--display); }
.cat-services a:hover b { color: var(--brand); }
.cat-services span { font-size: .87rem; color: var(--muted); }

.promo-bar { background: var(--ink); color: #dfe5f2; font-size: .86rem; }
.promo-in { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .3rem .9rem; padding: .55rem 0; text-align: center; }
.promo-bar b { color: #fff; }
.promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.promo-sep { opacity: .4; }
.group-title { scroll-margin-top: 150px; }

@media (max-width: 1100px) {
  .cat-link, .cat-btn { padding: 0 .45rem; font-size: .84rem; }
  .cat-feature { flex-basis: 200px; }
  .hd-hide-sm { display: none; }
}
@media (max-width: 900px) {
  .topbar-l { display: none; }
  .topbar-in { justify-content: center; }
  .nav-toggle { display: block; margin-left: -8px; }
  .header-in { flex-wrap: wrap; height: auto; gap: .4rem .8rem; padding: .5rem 0 .7rem; }
  .header .logo svg, .header .logo img { width: 140px; height: auto; }
  .hd-icons { margin-left: auto; }
  .header .search { order: 5; flex: 1 0 100%; display: flex !important; }
  .catnav { display: none; border-top: 1px solid var(--line); max-height: calc(100vh - 140px); overflow-y: auto; }
  .catnav.open { display: block; }
  .catnav-in { flex-direction: column; height: auto; padding: .4rem 0 1rem; }
  .cat { flex-direction: column; }
  .cat-link, .cat-btn { padding: .85rem .2rem; font-size: .98rem; justify-content: space-between; border-bottom: 1px solid var(--line); width: 100%; }
  .cat-link::after, .cat-btn::after { display: none; }
  .cat-mobile-only { display: flex; }
  .cat:hover .cat-caret { transform: none; }
  .cat.open .cat-caret { transform: rotate(180deg); }
  .cat-panel, .cat:hover .cat-panel, .cat:focus-within .cat-panel { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; transition: none; }
  .cat.open .cat-panel { display: block; }
  .cat-panel .wrap { width: 100%; }
  .cat-panel-in { flex-direction: column; gap: 1rem; padding: .6rem 0 .4rem .8rem; }
  .cat-cols { grid-template-columns: 1fr 1fr; }
  .cat-col h4, .cat-feature { display: none; }
  .cat-services { grid-template-columns: 1fr; }
  .cat-services a { padding: .5rem 0; }
  .cat-panel-foot { padding: .5rem 0 .8rem .8rem; border: 0; }
  .promo-sep, .promo-in > span:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .hd-ic span { display: none; }
  .hd-ic { padding: .45rem; }
  .cat-cols { grid-template-columns: 1fr; }
}

/* ---------- homepage (Vistaprint/GotPrint-style) ---------- */
.hx { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; gap: 12px; padding: 12px; background: #eef1f5; }
.hx-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 440px; }
.hx-ph { border-radius: 10px; overflow: hidden; background: #fff; }
.hx-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-card { background: var(--ink); color: #dfe5f2; border-radius: 14px; padding: 2.6rem 2.4rem; display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hx-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 100% 0, rgba(0,174,239,.35), transparent 70%), radial-gradient(380px 240px at 0 100%, rgba(0,174,239,.3), transparent 70%); pointer-events: none; }
.hx-card > * { position: relative; }
.hx-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--cyan); margin-bottom: .8rem; }
.hx-card h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; margin-bottom: .5em; }
.hx-card h1 span { color: var(--cyan); }
.hx-lead { font-size: 1.04rem; margin: 0 auto 1.4rem; max-width: 30em; }
.hx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.hx-chips a { background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; padding: .5em 1em; border-radius: 8px; transition: background .15s, transform .15s; }
.hx-chips a:hover { background: var(--cyan); text-decoration: none; transform: translateY(-1px); }
.hx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

.vp { background: #fff; border-bottom: 1px solid var(--line); }
.vp-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.3rem 0; }
.vp-item { display: flex; align-items: center; gap: .8rem; justify-content: center; }
.vp-item svg { color: var(--brand); flex: none; }
.vp-item b { display: block; font-size: .95rem; }
.vp-item span { font-size: .84rem; color: var(--muted); }

.hs { padding: 2.6rem 0 .6rem; }
.hs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hs-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin: 0; }
.hs-head a { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: opacity .15s; }
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }
.rail-btn:disabled { opacity: 0; pointer-events: none; }
.cat-card { display: block; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cc-img { aspect-ratio: 1 / .9; background: #f1f3f6; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card:hover .cc-img img { transform: scale(1.05); }
.cat-card b { display: block; padding: .75rem .9rem; font-size: .92rem; }
.prod-card { display: flex; flex-direction: column; color: var(--ink); }
.prod-card:hover { text-decoration: none; }
.pc-img { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #f1f3f6; margin-bottom: .6rem; display: grid; place-items: center; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pc-img svg { width: 45%; }
.prod-card:hover .pc-img img { transform: scale(1.05); }
.prod-card b { font-size: .95rem; }
.prod-card:hover b { color: var(--brand); }
.prod-card span { font-size: .83rem; color: var(--muted); line-height: 1.4; margin: .15rem 0 .35rem; }
.prod-card em { font-style: normal; font-weight: 700; font-size: .83rem; color: var(--brand); margin-top: auto; }

.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: 14px; overflow: hidden; min-height: 270px; color: #fff; transition: transform .2s, box-shadow .2s; }
.promo-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.pc-dark { background: var(--ink); }
.pc-brand { background: linear-gradient(135deg, #005f8a, #0079b0); }
.pc-brand .hx-eyebrow { color: #bfeafc; }
.promo-copy { padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; }
.promo-copy h3 { font-size: 1.45rem; color: #fff; }
.promo-copy p:not(.hx-eyebrow) { font-size: .93rem; opacity: .9; }
.promo-copy .btn { margin-top: auto; }
.promo-img { background: #fff; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hiw { margin-top: 2.6rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; text-align: center; }
.st-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 1.05rem var(--display); margin-bottom: .6rem; }
.steps li:nth-child(2) .st-n { background: var(--cyan); color: var(--ink); }
.steps li:nth-child(3) .st-n { background: var(--yellow); color: var(--ink); }
.steps li:nth-child(4) .st-n { background: var(--ink); }
.steps b { display: block; font-family: var(--display); }
.steps p { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.res-list { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.6rem; }
.res-list h3 { margin-bottom: .6rem; }
.res-list a { display: block; padding: .7rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.res-list a:hover { text-decoration: none; }
.res-list a:hover b { color: var(--brand); }
.res-list b { display: block; font-size: .95rem; }
.res-list span { font-size: .85rem; color: var(--muted); }

@media (max-width: 1100px) {
  .hx-collage { grid-template-columns: 1fr; grid-template-rows: repeat(2, 1fr); }
  .hx-collage .hx-ph:nth-child(n+3) { display: none; }
  .rail-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 860px) {
  .hx { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .hx-collage { display: none; }
  .hx-card { border-radius: 0; padding: 2.4rem 1.2rem; }
  .vp-in { grid-template-columns: 1fr; gap: .8rem; }
  .vp-item { justify-content: flex-start; }
  .rail-track { grid-auto-columns: calc((100% - 2 * 12px) / 2.6); gap: 12px; }
  .rail-btn { display: none; }
  .promo-pair { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-img { height: 170px; order: -1; }
  .rail-track { grid-auto-columns: 44%; }
  .vp-item svg { width: 24px; }
}

/* "Starting at" prices on product cards */
.price-from { display: block; font-size: .84rem; color: var(--ink-2); margin-top: .45rem; }
.price-from b { font: 800 1.02rem var(--display); color: var(--ink); }
.price-from small { color: var(--muted); font-size: .8rem; }
.prod-card .price-from { margin: 0 0 .35rem; }

/* ---------- Artwork upload + preflight ---------- */
.pf-slots { display: grid; gap: .8rem; }
.pf-slots.two { grid-template-columns: 1fr 1fr; }
.pf-slot { display: block; border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem; background: #fff; font-size: .9rem; min-width: 0; }
.pf-slot.invalid { border-color: #c1121f; box-shadow: 0 0 0 3px rgba(193,18,31,.1); }
.pf-drop { display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; border: 2px dashed #c3cbdb; background: var(--bg-2); cursor: pointer; padding: 1.1rem .9rem; transition: border-color .15s, background .15s; }
.pf-drop:hover, .pf-drop.over { border-color: var(--cyan); background: #eef9fe; }
.pf-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-drop:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pf-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .35rem; flex-wrap: wrap; }
.pf-file { margin: 0 0 .35rem; overflow-wrap: anywhere; font-size: .88rem; }
.pf-badge { font-size: .74rem; font-weight: 700; padding: .12rem .55rem; border-radius: 99px; white-space: nowrap; }
.pf-badge.pf-pass { background: #e3f6ec; color: #0b5e41; }
.pf-badge.pf-warn { background: #fff0dc; color: #8a4207; }
.pf-badge.pf-fail { background: #fde4e6; color: #a10f1b; }
.pf-slot.has.pf-pass { border-color: #a9dcc3; }
.pf-slot.has.pf-warn { border-color: #f1c58f; }
.pf-slot.has.pf-fail { border-color: #f0a7ad; background: #fffafa; }
.pf-details summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.pf-checks { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .83rem; line-height: 1.45; }
.pf-checks li { display: grid; grid-template-columns: 18px 1fr; gap: .45rem; align-items: start; }
.pf-checks i { font-style: normal; font-weight: 800; font-size: .7rem; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: .1rem; color: #fff; }
.pf-checks .pf-pass i { background: var(--ok); }
.pf-checks .pf-warn i { background: #d9822b; }
.pf-checks .pf-fail i { background: #c1121f; }
.pf-checks .pf-info i { background: #8a94a8; }
.pf-actions { display: flex; gap: 1rem; margin-top: .5rem; font-size: .85rem; }
.pf-actions label { cursor: pointer; }
.pf-actions .linkbtn { color: var(--brand); font-weight: 600; }
.pf-bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: .4rem 0; }
.pf-bar span { display: block; height: 100%; background: var(--cyan); transition: width .2s; }
.pf-mini { display: inline-block; font-size: .78rem; font-weight: 600; padding: .05rem .5rem; border-radius: 99px; background: var(--bg-2); color: var(--muted); margin: .1rem .2rem .1rem 0; }
.pf-mini.pf-pass { background: #e3f6ec; color: #0b5e41; }
.pf-mini.pf-warn { background: #fff0dc; color: #8a4207; }
.pf-mini.pf-fail { background: #fde4e6; color: #a10f1b; }
.gp-artwork { margin: 0 0 1.1rem; }
.gp-artwork > .gp-art-title { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .45rem; }
.gp-artwork > .gp-art-title b { font-size: .9rem; }
.gp-artwork > .gp-art-title a { font-size: .8rem; }
.cart-art { grid-column: 2 / -1; margin-top: .4rem; }
.cart-art h4 { font-size: .88rem; margin: 0 0 .5rem; }
@media (max-width: 700px) {
  .pf-slots.two { grid-template-columns: 1fr; }
  .cart-art { grid-column: 1 / -1; }
}
.mt-sm { margin-top: .35rem; }
.gp-config .pf-slots.two { grid-template-columns: 1fr; }

/* ---------- Digital proof modal (public/js/proof.js) ---------- */
body.proof-open { overflow: hidden; }
.proof-dlg { width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 24px 64px rgba(16, 24, 40, .35); color: var(--ink); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.proof-dlg:not([open]) { display: none; }
.proof-dlg::backdrop { background: rgba(16, 24, 40, .6); }
.proof-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem .75rem; border-bottom: 1px solid var(--line); }
.proof-head h2 { margin: 0; font: 700 1.25rem/1.3 var(--display); }
.proof-head p { margin: .2rem 0 0; }
.proof-x { border: 0; background: var(--bg-2); width: 36px; height: 36px; flex: none; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.proof-x:hover { background: var(--line); }
.proof-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); gap: 1.25rem; padding: 1rem 1.25rem; overflow: hidden; min-height: 0; flex: 1 1 auto; }
/* desktop: the preview stays put while the info column scrolls */
.proof-stage, .proof-info { overflow: auto; max-height: 100%; }
.proof-stage { display: grid; gap: .9rem; align-content: start; min-width: 0; }
.proof-stage.two { grid-template-columns: 1fr 1fr; }
.proof-side { margin: 0; min-width: 0; }
.proof-side figcaption { display: flex; gap: .5rem; align-items: baseline; margin-bottom: .35rem; min-width: 0; }
.proof-side figcaption .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-canvas { position: relative; aspect-ratio: 7 / 4; min-height: 180px; max-height: min(58vh, 560px); border-radius: 10px; overflow: hidden; background: #e9ecf2; }
.proof-stage.two .proof-canvas { max-height: min(48vh, 440px); }
.proof-canvas canvas { display: block; position: absolute; inset: 0; } /* never let the drawing size the layout */
.proof-loading { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 1rem; margin: 0; color: var(--ink-2); }
.proof-pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: .35rem; }
.proof-info { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.proof-toggles { display: grid; gap: .3rem; }
.proof-legend { list-style: none; margin: 0; padding: .75rem .85rem; display: grid; gap: .55rem; background: var(--bg-2); border-radius: 10px; line-height: 1.45; }
.proof-legend li { display: grid; grid-template-columns: 26px 1fr; gap: .5rem; align-items: start; }
.proof-legend i { display: block; width: 26px; height: 16px; margin-top: .15rem; border-radius: 2px; }
.proof-legend .lg-cut { border: 2px solid #d0112b; background: #fff; }
.proof-legend .lg-safe { border: 2px dashed #0090d0; background: #fff; }
.proof-legend .lg-bleed { background: rgba(16, 24, 40, .42); }
.proof-warn { border: 1px solid #f1c58f; background: #fff8ee; border-radius: 10px; padding: .65rem .8rem; }
.proof-warn ul { margin: .35rem 0 0; padding-left: 1.1rem; display: grid; gap: .3rem; font-size: .83rem; line-height: 1.45; }
.proof-warn li.pf-fail { color: #a10f1b; }
.proof-ok { margin: 0; color: var(--ok); font-weight: 600; }
.proof-agree { padding: .7rem .8rem; border: 2px solid var(--line); border-radius: 10px; font-size: .88rem; line-height: 1.45; }
.proof-agree:has(input:checked) { border-color: var(--ok); background: #f2fbf6; }
.proof-foot { display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; padding: .8rem 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.pf-proof { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .55rem 0 0; }
.pf-proof.ok span { color: var(--ok); font-weight: 700; font-size: .86rem; }
.pf-proof .linkbtn { color: var(--brand); font-weight: 600; font-size: .85rem; }
@media (max-width: 860px) {
  .proof-body { grid-template-columns: 1fr; grid-template-rows: none; overflow: auto; }
  .proof-stage, .proof-info { overflow: visible; max-height: none; }
  .proof-stage.two { grid-template-columns: 1fr; }
  .proof-canvas, .proof-stage.two .proof-canvas { max-height: min(52vh, 420px); }
  .proof-dlg { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .proof-head, .proof-body, .proof-foot { padding-left: 1rem; padding-right: 1rem; }
  .proof-foot .btn { flex: 1 1 auto; }
}
.co-agree { margin-top: 1rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); line-height: 1.5; }
.co-agree a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.co-agree:has(input:checked) { border-color: #a9dcc3; background: #f2fbf6; }
.co-agree.invalid, .co-agree:has(input.invalid) { border-color: #c1121f; }

/* Online payment: method choice at checkout + "pay now" on the order page */
.pay-methods { display: grid; gap: .5rem; margin: .8rem 0; }
.pay-methods .profile-opt { align-items: center; }
.pay-now-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-paypal { background: #ffc439; border-color: #ffc439; color: #111; }
.btn-paypal:hover { background: #f2b51f; border-color: #f2b51f; color: #111; }
.secret-hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; display: block; }
