/* Petty: a clean storefront. White, near-black ink, one coral accent, Inter for the shop, Fredoka only in the logo,
   Cormorant only for each shirt's line. The shirts carry the brand. */
:root { --bg:#ffffff; --soft:#f7f5f2; --ink:#1c1714; --muted:#6d625a; --line:#e9e4de; --coral:#ff6a4d; --focus:#2563eb;
  --ui:Inter,-apple-system,system-ui,sans-serif; --logo:Fredoka,Inter,system-ui,sans-serif; --serif:"Cormorant Garamond",Georgia,serif; color-scheme:light; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
/* the photo studio (/make) is put away until the ready-made shop sells; STUDIO_LINKS=1 brings its links back */
body:not(.studio) [data-studio] { display:none !important; }
html, body { margin:0; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--ink); font:15px/1.55 var(--ui); -webkit-font-smoothing:antialiased; }
body.locked { overflow:hidden; }
a { color:inherit; }
button, input, select, textarea { font:inherit; color:inherit; }
h1, h2, h3 { margin:0; font-weight:600; letter-spacing:-.01em; text-wrap:balance; }
:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.topin, .footin, main { width:100%; max-width:1240px; margin:0 auto; padding-left:max(20px,env(safe-area-inset-left)); padding-right:max(20px,env(safe-area-inset-right)); }

.announce { margin:0; padding:9px 16px; background:var(--ink); color:#fff; text-align:center; font-size:12.5px; font-weight:500; letter-spacing:.02em; }
.top { position:sticky; top:0; z-index:10; background:rgba(255,255,255,.96); backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line); }
.topin { display:flex; align-items:center; gap:28px; height:64px; }
.mark { font:700 28px/1 var(--logo); letter-spacing:-.02em; text-decoration:none; } .mark i { color:var(--coral); font-style:normal; }
.nav { display:flex; gap:22px; flex:1; }
.nav a { text-decoration:none; font-weight:500; font-size:14px; color:var(--muted); padding:6px 0; border-bottom:2px solid transparent; white-space:nowrap; }
.nav a:hover, .nav a.on { color:var(--ink); border-bottom-color:var(--ink); }
.cartbtn { margin-left:auto; border:1px solid var(--ink); background:var(--ink); color:#fff; border-radius:999px; padding:8px 16px; font-weight:600; font-size:14px; cursor:pointer; white-space:nowrap; }
.cartbtn span { margin-left:4px; opacity:.8; }
@media (max-width:720px) { .topin { flex-wrap:wrap; height:auto; gap:0 14px; padding-top:10px; } .mark { font-size:26px; } .nav { order:3; flex-basis:100%; gap:18px; overflow-x:auto; padding:8px 0 4px; } }

.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 26px; border-radius:999px; border:1px solid var(--ink); background:var(--ink); color:#fff;
  font-weight:600; font-size:15px; text-decoration:none; cursor:pointer; transition:opacity .15s; }
.btn:hover { opacity:.88; } .btn[disabled] { opacity:.5; cursor:default; }
.btn.ghost { background:#fff; color:var(--ink); }
.btn.wide { width:100%; }
.error { color:#b3261e; font-weight:500; margin:0; min-height:1em; font-size:14px; }
.fine { font-size:13.5px; color:var(--muted); margin:0; } .center { text-align:center; }

/* home */
.hero { padding:28px 0 8px; display:grid; gap:18px; }
.heroshirts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.heroshirts a { display:block; background:var(--soft); border-radius:6px; overflow:hidden; }
.heroshirts img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; transition:transform .4s; }
.heroshirts a:hover img { transform:scale(1.03); }
.herobar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.herotext { margin:0; font-size:clamp(18px,2.2vw,22px); font-weight:500; letter-spacing:-.01em; }
@media (max-width:720px) { .heroshirts { grid-template-columns:1fr 1fr; } .heroshirts a:first-child { grid-column:1 / 3; } .heroshirts a:first-child img { aspect-ratio:1; } .herobar .btn { width:100%; } }

.shop { padding:40px 0 10px; scroll-margin-top:110px; }
.shophead { display:flex; align-items:end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.shophead h2 { font-size:26px; }
#hatChips { margin-right:auto; }
.chips { display:flex; gap:8px; flex-wrap:wrap; }
.chip { border:1px solid var(--line); background:#fff; border-radius:999px; padding:7px 15px; font-size:13.5px; font-weight:500; cursor:pointer; color:var(--muted); }
.chip.on { background:var(--ink); border-color:var(--ink); color:#fff; }
.grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 18px; }
@media (max-width:960px) { .grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px) { .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 12px; } }
.card { display:grid; gap:10px; text-decoration:none; }
.card .ph { background:var(--soft); border-radius:6px; overflow:hidden; aspect-ratio:1; }
.card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.card:hover img { transform:scale(1.04); }
.card .cinfo { display:grid; gap:3px; }
.card .ct { font-weight:600; font-size:14.5px; }
.card .cp { color:var(--muted); font-size:14px; }
.dots { display:flex; gap:5px; margin-top:3px; }
.dot { width:12px; height:12px; border-radius:50%; border:1px solid rgba(0,0,0,.15); }
.empty { color:var(--muted); grid-column:1 / -1; }

/* a product */
#product { padding-top:18px; padding-bottom:40px; }
.crumbs { display:flex; gap:8px; font-size:13px; color:var(--muted); margin-bottom:18px; } .crumbs a { text-decoration:none; } .crumbs a:hover { text-decoration:underline; }
.pgrid { display:grid; grid-template-columns:1.15fr 1fr; gap:48px; align-items:start; }
@media (max-width:860px) { .pgrid { grid-template-columns:1fr; gap:24px; } }
.gallery { display:grid; gap:12px; position:sticky; top:84px; }
@media (max-width:860px) { .gallery { position:static; } }
.mainimg { background:var(--soft); border-radius:6px; overflow:hidden; aspect-ratio:1; }
.mainimg img, .mainimg canvas { width:100%; height:100%; object-fit:contain; display:block; }
.thumbs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.thumbs button { padding:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--soft); cursor:pointer; aspect-ratio:1; }
.thumbs button.on { border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); }
.thumbs img { width:100%; height:100%; object-fit:cover; display:block; }
.info { display:grid; gap:18px; }
.info h1 { font-size:clamp(26px,3vw,34px); line-height:1.15; }
.pline { margin:-10px 0 0; font:italic 600 22px/1.2 var(--serif); color:var(--muted); }
.pprice { margin:-6px 0 0; font-size:20px; font-weight:600; }
.field { display:grid; gap:9px; }
.flabel { font-size:13px; font-weight:600; letter-spacing:.02em; } .flabel b { font-weight:500; color:var(--muted); margin-left:6px; } .flabel .opt { font-weight:500; color:var(--muted); margin-left:6px; }
.seg { display:flex; gap:8px; flex-wrap:wrap; }
.seg button, .sizes button { border:1px solid var(--line); background:#fff; border-radius:6px; min-height:44px; padding:8px 16px; font-weight:500; font-size:14px; cursor:pointer; }
.seg button.on, .sizes button.on { border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); font-weight:600; }
.seg button small { display:block; font-size:12px; color:var(--muted); font-weight:500; }
.sizes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; width:min(380px, calc(100vw - 32px)); } /* its own width: the field around it shrinks to the label, which crushed S/M/L (2026-11-24) */ .sizes button { padding:8px 0; }
.swatches { display:flex; gap:10px; }
.swatches button { width:34px; height:34px; border-radius:50%; border:1px solid rgba(0,0,0,.15); cursor:pointer; padding:0; }
.swatches button.on { box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.input { min-height:46px; border:1px solid var(--line); border-radius:6px; padding:10px 14px; background:#fff; }
.input:focus { border-color:var(--ink); outline:none; }
.perks { list-style:none; margin:0; padding:14px 0; display:grid; gap:6px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-size:14px; color:var(--muted); }
.perks li::before { content:'✓'; color:var(--ink); margin-right:8px; font-weight:700; }
details { border-bottom:1px solid var(--line); padding:4px 0 12px; } details summary { cursor:pointer; font-weight:600; padding:8px 0; list-style:none; } details summary::-webkit-details-marker { display:none; }
details summary::after { content:'+'; float:right; color:var(--muted); font-weight:400; } details[open] summary::after { content:'–'; }
details p { margin:4px 0 0; color:var(--muted); font-size:14px; } details p + p { margin-top:10px; }
.more { margin-top:56px; } .more h2 { font-size:22px; margin-bottom:20px; }

/* the cart: a drawer on the right (a sheet from the bottom on phones) */
.sheet { position:fixed; inset:0; z-index:30; background:rgba(28,23,20,.4); display:flex; justify-content:flex-end; }
.sheetbox { position:relative; background:#fff; width:100%; max-width:440px; height:100%; overflow:auto; padding:26px max(22px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) 22px; }
@media (max-width:640px) { .sheet { align-items:flex-end; } .sheetbox { max-width:none; height:auto; max-height:90vh; border-radius:14px 14px 0 0; } }
#sheetBody { display:grid; gap:14px; }
.sheetx { position:absolute; top:14px; right:14px; border:0; background:none; font-size:26px; line-height:1; cursor:pointer; color:var(--muted); }
.sheet h2 { font-size:20px; }
.citem { display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center; border-bottom:1px solid var(--line); padding-bottom:12px; font-size:14px; }
.citem img { width:64px; height:64px; object-fit:cover; border-radius:6px; background:var(--soft); }
.cright { display:grid; justify-items:end; gap:2px; }
.plain { border:0; background:none; cursor:pointer; padding:2px 0; } .plain.small { font-size:12.5px; color:var(--muted); text-decoration:underline; }
.cbundle, .ctotal { display:flex; justify-content:space-between; margin:0; font-weight:600; } .cbundle { color:#2f7a4a; }
.gift { display:flex; gap:8px; align-items:center; font-weight:500; font-size:14px; }
.giftnote { min-height:70px; border:1px solid var(--line); border-radius:6px; padding:10px; resize:vertical; }

/* questions (filled in by the server) and the footer */
.faq { max-width:760px; margin:64px auto 0; display:grid; gap:0; scroll-margin-top:110px; }
.faq h2 { font-size:22px; margin-bottom:10px; }
.faq details { padding:4px 0 10px; } .faq summary { font-weight:600; }
.sitefoot { margin-top:72px; border-top:1px solid var(--line); background:var(--soft); }
.footin { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; padding-top:44px; padding-bottom:30px; }
@media (max-width:720px) { .footin { grid-template-columns:1fr 1fr; } .footin .fcol:first-child { grid-column:1 / 3; } }
.fcol { display:grid; gap:9px; align-content:start; font-size:14px; } .fcol h3 { font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:600; }
.fcol a { text-decoration:none; } .fcol a:hover { text-decoration:underline; } .fcol p { margin:0; color:var(--muted); max-width:300px; }
.copy { margin:0; padding:16px 20px 24px; text-align:center; font-size:12.5px; color:var(--muted); }
.sizes button small { display:block; font-size:11px; line-height:1.1; color:var(--muted); font-weight:500; }

/* grid: the garment photo; hover shows the artwork up close */
.card .ph { position:relative; }
.card .ph.zoomed > img { width:100%; height:100%; object-fit:cover; }
.card .ph img.alt { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#fff; opacity:0; transition:opacity .2s ease; }
@media (hover:hover) { .card:hover .ph img.alt { opacity:1; } }
.card .ph.close { overflow:hidden; } .card .ph.close > img { transition:transform .35s ease; }
@media (hover:hover) { .card:hover .ph.close > img { transform:var(--close); } }
.thumbs { grid-template-columns:repeat(5,minmax(0,1fr)); }
.card .ph:not(.zoomed) > img:not(.alt) { object-fit:contain; } /* a fallback print file is tall: show it whole */

/* the two paths on the home page: For You and For Your Pet (Chad 2026-11-19). Full-bleed lifestyle photos, the path
   named over the photo, the brand line set large in the serif. */
.hero { padding:36px 0 12px; gap:22px; }
.hero .herotext { margin:0; font:600 clamp(34px,5vw,58px)/1.02 var(--serif); letter-spacing:-.015em; text-wrap:balance; }
.hero .herotext span { display:block; font-family:var(--ui); font-size:clamp(14px,1.3vw,16px); font-weight:500; letter-spacing:.01em; color:var(--muted); margin-top:12px; }
.paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.path { position:relative; display:block; border-radius:10px; overflow:hidden; text-decoration:none; color:#fff; background:#d9d2c7; isolation:isolate; }
.path img { width:100%; aspect-ratio:4/3; max-height:min(50vh, 460px); object-fit:contain; background:#fff; display:block; transition:transform .6s cubic-bezier(.2,.7,.2,1); }
.path:hover img { transform:scale(1.035); }
.path::after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(to top, rgba(18,14,11,.62), rgba(18,14,11,0)); pointer-events:none; }
.pathlabel { position:absolute; left:0; right:0; bottom:0; z-index:1; display:flex; flex-direction:column; gap:4px; padding:clamp(18px,2.4vw,30px); }
.pathlabel b { font:600 clamp(28px,3.4vw,44px)/1.05 var(--serif); letter-spacing:-.01em; }
.pathlabel small { font-size:clamp(13px,1.1vw,15px); opacity:.9; }
.pathlabel i { font-style:normal; font-weight:600; font-size:14px; margin-top:10px; align-self:flex-start; padding:9px 18px; border-radius:999px; background:#fff; color:var(--ink); transition:background .2s; }
.path:hover .pathlabel i { background:var(--soft); }
@media (max-width:720px) { .hero { padding-top:22px; } .paths { grid-template-columns:1fr; gap:14px; } .path img { aspect-ratio:4/3; max-height:none; }
  /* phones: the label under the photo, so it never sits on the print or the dog */
  .path { color:var(--ink); background:var(--soft); } .path::after { display:none; }
  .pathlabel { position:static; padding:14px 16px 16px; } .pathlabel small { opacity:1; color:var(--muted); }
  .pathlabel i { background:var(--ink); color:#fff; margin-top:10px; } }

/* Phones: the name and price come first, a shorter photo, and Add to cart pinned to the bottom until the real button scrolls into view.
   (TikTok traffic left on the first screen: only the shirt photo showed there.) */
.buybar { display:none; }
@media (max-width:860px) {
  #product { padding-top:10px; padding-bottom:96px; }
  #product .crumbs { margin-bottom:4px; } /* kept on phones: the way back to For You or For Your Pet */
  .pgrid { display:flex; flex-direction:column; gap:14px; }
  .pgrid .info { display:contents; }
  .pgrid .info > * { order:5; }
  .pgrid .info > h1 { order:1; font-size:26px; }
  .pgrid .info > .pline { order:2; margin:-12px 0 0; font-size:19px; }
  .pgrid .info > .pprice { order:3; margin:-8px 0 0; }
  .pgrid .gallery { order:4; width:100%; }
  .announce { font-size:12px; padding-top:6px; padding-bottom:6px; }
  .mainimg { aspect-ratio:auto; height:min(48vh, 88vw); }
  .thumbs button { aspect-ratio:1; }
  .buybar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:20; align-items:center; gap:12px; padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background:rgba(255,255,255,.97); border-top:1px solid var(--line); transition:transform .2s ease; }
  .buybar.off { transform:translateY(110%); }
  .bbtext { display:grid; min-width:0; flex:1; line-height:1.25; } .bbtext b { font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .bbtext span { font-size:15px; font-weight:600; }
  .buybar .btn { flex:none; padding-left:22px; padding-right:22px; }
}
.nudge .sizes button { animation:nudge .5s ease 2; } @keyframes nudge { 50% { border-color:var(--ink); box-shadow:0 0 0 1px var(--ink); } }

/* the two paths: clean white product photos, the label underneath on every screen (Chad 2026-11-20: no dark fade) */
.path { color:var(--ink); background:var(--soft); } .path::after { display:none; }
.pathlabel { position:static; padding:16px 20px 20px; } .pathlabel small { opacity:1; color:var(--muted); }
.pathlabel i { background:var(--ink); color:#fff; } .path:hover .pathlabel i { background:#3a332d; }

/* photos (Chad 2026-11-21): swipe between them, tap to see one big and zoom in */
.mainimg { position:relative; cursor:zoom-in; touch-action:pan-y pinch-zoom; }
.mhint { position:absolute; right:10px; bottom:10px; font-size:12px; background:rgba(255,255,255,.85); color:var(--ink); padding:4px 8px; border-radius:999px; pointer-events:none; }
.zoom { position:fixed; inset:0; z-index:200; background:#fff; display:flex; flex-direction:column; }
.zin { flex:1; overflow:auto; touch-action:pan-x pan-y pinch-zoom; display:flex; align-items:center; justify-content:center; }
.zin img { width:100%; max-width:1000px; height:auto; display:block; cursor:zoom-in; }
.zin.big { display:block; }
.zin.big img { width:250%; max-width:none; cursor:zoom-out; }
.zoomx { position:absolute; top:calc(10px + env(safe-area-inset-top, 0px)); right:12px; z-index:2; width:44px; height:44px; border-radius:50%; border:0; background:rgba(0,0,0,.75); color:#fff; font-size:26px; line-height:44px; cursor:pointer; }
.zhint { text-align:center; font-size:12px; color:var(--muted); margin:8px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.mhint { display:none; } @media (hover:none) { .mainimg .mhint { display:block; } }

/* your pet portrait (Chad 2026-11-22) */
.ptbox { cursor:zoom-in; position:relative; }
.ptwait { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; background:rgba(255,255,255,.78); text-align:center; padding:16px; }
.ptwait small { color:var(--muted); }
.ptspin { width:34px; height:34px; border-radius:50%; border:3px solid rgba(0,0,0,.12); border-top-color:currentColor; animation:ptspin 0.9s linear infinite; }
@keyframes ptspin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ptspin { animation:none; } }
.ptstep { font-size:13px; font-weight:600; letter-spacing:.02em; margin:6px 0 0; padding-top:18px; border-top:1px solid rgba(0,0,0,.1); }
.ptdrop { display:flex; align-items:center; gap:14px; border:1.5px dashed rgba(0,0,0,.25); border-radius:10px; padding:14px; cursor:pointer; min-height:72px; }
.ptdrop:hover, .ptdrop:focus-within { border-color:currentColor; }
.ptdrop img { width:64px; height:64px; object-fit:cover; border-radius:8px; flex:none; }
.ptdrop span { display:flex; flex-direction:column; gap:2px; }
.ptdrop small { color:var(--muted); font-size:13.5px; }
/* before a photo is picked, Choose a photo is the one thing to do (2026-11-23 review: the gray Make button pulled the eye first) */
.ptdrop.first { background:var(--ink); color:#fff; border:1px solid var(--ink); justify-content:center; text-align:center; }
.ptdrop.first span { align-items:center; } .ptdrop.first small { color:rgba(255,255,255,.75); } .ptdrop.first:hover { opacity:.9; }
.ptfree { margin:8px 0 0; }
.ptpicks button { padding:0; border:1.5px solid transparent; border-radius:6px; background:var(--soft); aspect-ratio:1; overflow:hidden; cursor:pointer; }
.ptpicks button.on { border-color:currentColor; }
.ptpicks button { position:relative; }
.ptpicks img { width:100%; height:100%; object-fit:contain; display:block; }
.ptpicks span { position:absolute; left:4px; right:4px; bottom:4px; font-size:11px; font-weight:600; line-height:1.2; padding:3px 4px; border-radius:4px; background:rgba(255,255,255,.9); color:var(--ink); text-align:center; }

.paths:has(> .path:nth-child(3)) { grid-template-columns:repeat(3,minmax(0,1fr)); } /* For You, For Your Pet, Pet Portrait */
@media (max-width:720px) { .paths:has(> .path:nth-child(3)) { grid-template-columns:1fr; } }
#ptShop:not([hidden]) { display:grid; gap:18px; } /* the shirt options keep the page's spacing between fields */
/* Make It Yours, once there's a portrait (Chad 2026-11-23): steps 1 and 2 fold into this line, step 3 comes up next to
   the preview, and on phones the preview stays pinned under the header while they choose */
.ptsum { align-self:stretch; display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:10px; padding:10px 12px; }
.ptsum img { width:52px; height:52px; object-fit:cover; border-radius:8px; flex:none; }
.ptsum span { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.ptsum small { color:var(--muted); font-size:13.5px; }
.ptsum .btn { min-height:38px; padding:8px 18px; }
.ptsteps { display:grid; gap:18px; align-self:stretch; }
#ptSum { scroll-margin-top:96px; }
#ptModels button { white-space:nowrap; }
@media (max-width:860px) {
  #portrait.picked .gallery { position:sticky; top:var(--toph, 64px); z-index:6; background:#fff; padding-bottom:8px; }
  #portrait.picked .mainimg { height:32vh; }
  #portrait.picked .ptpicks { grid-template-columns:repeat(auto-fill, 52px); }
  #portrait.picked .ptpicks span { font-size:8.5px; padding:2px; left:2px; right:2px; bottom:2px; }
  #ptSum { scroll-margin-top:calc(var(--toph, 64px) + 32vh + 84px); }
}
/* the sample products before a portrait: the name and price under the picture, not over it (Chad 2026-11-23) */
.ptpicks.ptex button { aspect-ratio:auto; display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px 4px 8px; background:#fff; }
.ptpicks.ptex img { width:100%; aspect-ratio:1; height:auto; object-fit:contain; }
.ptpicks.ptex b { font-size:13px; font-weight:600; line-height:1.2; }
.ptpicks.ptex small { font-size:12px; color:var(--muted); line-height:1.2; }
/* desktop: the sample products in a column left of the big picture, so they're seen at once (Chad 2026-11-23) */
@media (min-width:861px) {
  #portrait .gallery:has(.ptex) { grid-template-columns:184px minmax(0,1fr); align-items:start; } /* two columns: all six seen at once */
  #portrait .gallery:has(.ptex) .ptpicks { grid-column:1; grid-row:1; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; max-height:calc(100vh - 120px); overflow-y:auto; }
  #portrait .gallery:has(.ptex) .mainimg { grid-column:2; grid-row:1; }
  .ptpicks.ptex button { padding:4px 4px 6px; }
  .ptpicks.ptex b { font-size:12px; }
  .ptpicks.ptex small { font-size:11px; }
}
/* first paint, before shop.js routes (index.html sets data-start): no home page flash on /portrait or a product address */
html[data-start=portrait] #home, html[data-start=deep] #home { display:none; }
html[data-start=portrait] #portrait[hidden] { display:block !important; } /* beats the [hidden] rule until route() runs */
.zoom[data-from=portrait] .zhint { font-size:0; } .zoom[data-from=portrait] .zhint::after { content:'Tap or pinch to zoom'; font-size:12px; } /* one picture: nothing to swipe to */

/* Size guide beside the size label (2026-11-23 review) */
.frow { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.sguide { background:none; border:0; padding:0; font:inherit; font-size:13px; color:var(--muted); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.sguide:hover { color:var(--ink); }

/* the featured spot on the home page: their pet on a tee (2026-11-23 review) */
.feature { display:grid; grid-template-columns:clamp(150px,22vw,240px) minmax(0,1fr); align-items:center; gap:clamp(18px,3vw,36px); margin-top:16px; padding:clamp(14px,2vw,22px); border-radius:10px; background:var(--soft); color:var(--ink); text-decoration:none; } /* a band, not a second hero (Chad 2026-11-23: it filled the screen) */
.feature img { width:100%; aspect-ratio:1; object-fit:contain; display:block; background:#fff; border-radius:8px; }
.ftext { display:flex; flex-direction:column; gap:6px; }
.ftext small { font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.ftext b { font:600 clamp(24px,2.6vw,34px)/1.1 var(--serif); letter-spacing:-.01em; }
.ftext .fsub { font-size:15px; color:var(--muted); max-width:46ch; }
.ftext i { font-style:normal; font-weight:600; font-size:14px; margin-top:8px; align-self:flex-start; padding:11px 22px; border-radius:999px; background:var(--ink); color:#fff; }
.feature:hover i { opacity:.88; }
#heroShirts:empty + .feature { display:none; } /* shows with the three cards, so it never jumps down as they load (2026-11-24) */
@media (max-width:560px) { .feature { grid-template-columns:110px minmax(0,1fr); gap:14px; } .ftext .fsub { display:none; } .ftext i { padding:9px 16px; } }

/* phones: every Make It Yours product in a grid, all nine seen without swiping (Chad 2026-11-24: the swipe row hid 6 of 9, incl. everything in the ad) */
@media (max-width:860px) {
  .ptpicks.ptex { display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:8px; }
  .ptpicks.ptex button { min-width:0; }
  .ptpicks.ptex b { text-align:center; }
}

/* phones: the first step up top, so it shows without scrolling past the picture (Chad 2026-11-24); gone once a photo is picked */
.ptquick { display:none; }
.ptquicknote { display:none; } /* free, no sign-up, at the button (Chad 2026-11-29: 865 opened Make yours last week, 6 uploaded) */
@media (max-width:860px) { .pgrid .info > .ptquicknote { order:3; } .ptquicknote { display:block; margin:-2px 0 4px; text-align:center; font-size:14px; color:var(--muted); } #portrait.picked .ptquicknote, .ptquick[hidden] + .ptquicknote { display:none; } }
@media (max-width:860px) { .ptquick { display:flex; margin:2px 0 0; cursor:pointer; } .pgrid .info > .ptquick { order:3; } /* with the price, above the picture */ #portrait.picked .ptquick, .ptquick[hidden] { display:none; } }

/* Make It Yours: what the product is (2026-11-24) */
.ptabout { display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:10px; background:var(--soft); }
.ptabout > b { font-size:15px; font-weight:600; }
.ptabout ul { margin:0; padding-left:18px; display:flex; flex-direction:column; gap:3px; font-size:14px; color:var(--muted); line-height:1.45; }
.fit { display:flex; flex-direction:column; gap:8px; } .fitrow { display:flex; flex-direction:column; gap:1px; } .fitrow b { font-weight:600; color:var(--ink); font-size:13.5px; } .fittip { font-size:13.5px; }

/* the type bar on Make It Yours (2026-11-24): say what you want, the buttons below follow */
.ptask { display:flex; align-items:center; gap:6px; margin-top:12px; border:1.5px solid var(--line); border-radius:999px; padding:5px 5px 5px 16px; background:#fff; transition:border-color .2s; }
.ptask:focus-within { border-color:var(--ink); }
.ptask input { flex:1; min-width:0; height:42px; border:0; outline:0; background:transparent; font:inherit; font-size:16px; color:var(--ink); }
.ptsend { flex:none; width:42px; height:42px; border-radius:50%; border:0; background:var(--ink); color:#fff; display:grid; place-items:center; cursor:pointer; }
.ptsend svg { width:20px; height:20px; } .ptsend:disabled { opacity:.35; cursor:default; }
.ptchips { display:flex; gap:6px; margin-top:8px; overflow-x:auto; scrollbar-width:none; } .ptchips::-webkit-scrollbar { display:none; }
.ptchips button { flex:none; border:1px solid var(--line); background:#fff; border-radius:999px; padding:7px 12px; font:inherit; font-size:13.5px; color:var(--ink); cursor:pointer; white-space:nowrap; }
.ptchips button:hover { border-color:var(--ink); }
.ptreply { margin:10px 0 0; padding:10px 14px; border-radius:14px; background:var(--soft); font-size:14.5px; line-height:1.4; }
.ptreply a { color:inherit; font-weight:600; }
.ptreply.busy { color:var(--muted); }

/* the home page (Chad 2026-11-25): your pet on anything, Petty Originals tucked away */
.any { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:clamp(24px,5vw,72px); align-items:center; padding:clamp(28px,6vw,72px) 0 clamp(28px,5vw,56px); }
.anytext h1 { font:500 clamp(52px,7.4vw,104px)/.94 var(--serif); letter-spacing:-.025em; }
.anytext p { margin:22px 0 28px; max-width:30ch; font-size:clamp(16px,1.5vw,19px); color:var(--muted); }
.anybtn { display:inline-flex; align-items:center; justify-content:center; height:58px; padding:0 34px; border-radius:999px; font-size:16px; cursor:pointer; }
.anytext small { display:block; margin-top:12px; color:var(--muted); font-size:13px; }
.anyimg { margin:0; border-radius:18px; overflow:hidden; background:var(--soft); aspect-ratio:1; }
.anyimg img { width:100%; height:100%; object-fit:cover; display:block; }
.anyof { padding:8px 0 clamp(28px,5vw,56px); }
.anyof h2, .anyhow h2 { font-size:clamp(20px,2vw,24px); margin-bottom:18px; }
.anygrid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.anygrid a { text-decoration:none; color:var(--ink); }
.anygrid img { width:100%; aspect-ratio:1; object-fit:cover; display:block; border-radius:12px; background:var(--soft); transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.anygrid a:hover img { transform:scale(1.03); }
.anygrid b { display:block; margin-top:8px; font-weight:600; font-size:14.5px; } .anygrid small { color:var(--muted); font-size:13px; }
.anyhow { border-top:1px solid var(--line); padding:clamp(24px,4vw,40px) 0; }
.anyhow ol { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; counter-reset:s; }
.anyhow li { counter-increment:s; display:grid; gap:4px; } .anyhow li::before { content:counter(s); font:500 34px/1 var(--serif); color:var(--muted); margin-bottom:4px; }
.anyhow li b { font-size:16px; } .anyhow li span { color:var(--muted); font-size:14px; }
.anyask { margin:24px 0 0; color:var(--muted); font-size:14px; } .anyask a { color:var(--ink); font-weight:600; }
.origteaser { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 40px; padding:18px 22px; border:1px solid var(--line); border-radius:14px; text-decoration:none; color:var(--ink); }
.origteaser small { display:block; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; } .origteaser b { font-weight:500; }
.origteaser i { font-style:normal; font-weight:600; font-size:14px; white-space:nowrap; } .origteaser:hover { border-color:var(--ink); }
#home.originals .any, #home.originals .anyof, #home.originals .anyhow, #home.originals .origteaser { display:none; }
@media (max-width:860px) { .any { grid-template-columns:1fr; padding-top:20px; } .anyimg { order:-1; aspect-ratio:4/3.4; } .anytext h1 br { display:none; } .anybtn { width:100%; } .anygrid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:560px) { .anytext h1 { font-size:48px; } .anygrid { grid-template-columns:repeat(2,minmax(0,1fr)); } .anyhow ol { grid-template-columns:1fr; } }

/* their pet on everything, right after the portrait (2026-11-25) */
.ptevery { margin-top:10px; }
.ptevhead { margin:0 0 10px; color:var(--muted); font-size:14px; }
.ptegrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ptegrid button { border:1.5px solid transparent; background:none; padding:0 0 6px; border-radius:12px; cursor:pointer; text-align:left; color:var(--ink); }
.ptegrid button:hover .pteimg { transform:scale(1.02); }
.pteimg { display:block; aspect-ratio:1; border-radius:10px; overflow:hidden; background:var(--soft) linear-gradient(100deg,transparent 30%,rgba(255,255,255,.6) 50%,transparent 70%) 0 0/200% 100%; animation:ptshine 1.2s linear infinite; transition:transform .3s; }
.pteimg img { width:100%; height:100%; object-fit:cover; display:block; }
.pteimg:has(img:not([hidden])) { animation:none; background:#fff; }
.ptegrid b { display:block; margin:6px 2px 0; font-size:13px; font-weight:600; line-height:1.2; } .ptegrid small { display:block; margin:0 2px; color:var(--muted); font-size:12px; }
@keyframes ptshine { to { background-position:-200% 0; } }

/* Make it an Original (2026-11-25): their pet in one of our paintings */
.ptlooks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:-4px 0 16px; }
.ptlooks button { border:1.5px solid var(--line); background:#fff; border-radius:12px; padding:4px 4px 6px; cursor:pointer; color:var(--ink); font-size:12px; font-weight:500; line-height:1.2; }
.ptlooks button.on, .ptlooks button:hover { border-color:var(--ink); }
.ptlooks img { display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; margin-bottom:4px; background:var(--soft); }
.ptlookfirst { margin:0 0 12px; padding:12px 14px; border-radius:12px; background:var(--soft); font-size:14.5px; }
.withpet { display:flex; align-items:center; gap:12px; margin-top:14px; padding:10px 14px 10px 10px; border:1.5px solid var(--ink); border-radius:14px; text-decoration:none; color:var(--ink); }
.withpet img { width:56px; height:56px; border-radius:10px; object-fit:cover; background:var(--soft); flex:none; }
.withpet span { flex:1; display:grid; gap:2px; } .withpet b { font-size:15px; } .withpet small { color:var(--muted); font-size:13px; line-height:1.3; }
.withpet i { font-style:normal; font-size:18px; } .withpet:hover { background:var(--soft); }
@media (min-width:861px) { .ptlooks { grid-template-columns:repeat(5,minmax(0,1fr)); } }

/* Make It Yours, one step at a time (2026-11-25) */
.ptstep small { font-weight:400; color:var(--muted); font-size:.8em; margin-left:6px; }
#ptShop .ptstep { margin-top:26px; } #ptShop .ptstep:first-child { margin-top:8px; }
.ptegrid button.on { border-color:var(--ink); }
.ptegrid button { padding:4px 4px 8px; }
.ptmore { margin:4px 0 16px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ptmore summary { cursor:pointer; padding:14px 0; font-weight:600; font-size:14.5px; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.ptmore summary::-webkit-details-marker { display:none; }
.ptmore summary span { font-weight:400; color:var(--muted); text-align:right; }
.ptmore summary::after { content:"+"; font-weight:400; } .ptmore[open] summary::after { content:"−"; }
.ptmore[open] { padding-bottom:6px; }
.ptmore .field { margin:0 0 18px; }
.ptmore summary span { flex:1; text-align:right; }
.ptmore summary::after { width:14px; text-align:right; }

/* hop between products (Chad 2026-11-25): a strip of products under the picture, their options right below it,
   and a buy bar that stays on screen */
#ptShop .ptevery { margin:14px 0 6px; }
#ptShop .ptegrid { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; padding:2px 2px 6px; margin:0 -2px; }
#ptShop .ptegrid::-webkit-scrollbar { display:none; }
#ptShop .ptegrid button { flex:0 0 96px; scroll-snap-align:start; padding:3px 3px 6px; border:1.5px solid var(--line); background:#fff; }
#ptShop .ptegrid button.on { border-color:var(--ink); }
#ptShop .ptegrid b { font-size:12.5px; margin-top:4px; } #ptShop .ptegrid small { font-size:11.5px; }
#ptShop .ptask { margin-top:4px; }
#ptShop .ptreply { margin-top:8px; padding:8px 12px; font-size:13.5px; }
#portrait.picked .info > .pline, #portrait.picked #ptPrice { display:none; }
.ptbuy { position:sticky; bottom:0; z-index:5; display:flex; align-items:center; gap:14px; margin:6px -2px 0; padding:10px 2px calc(10px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.97); backdrop-filter:blur(6px); border-top:1px solid var(--line); }
.ptbuyinfo { flex:1; display:grid; line-height:1.25; } .ptbuyinfo b { font-size:15px; } .ptbuyinfo small { color:var(--muted); font-size:14px; }
.ptbuy .btn { flex:none; min-width:170px; }
.ptadded { margin:8px 0 0; padding:10px 14px; border-radius:12px; background:var(--soft); font-size:14px; }
.linkbtn { border:0; background:none; padding:0; font:inherit; font-weight:600; text-decoration:underline; cursor:pointer; color:var(--ink); }
@media (min-width:861px) { #ptShop .ptegrid { flex-wrap:wrap; overflow:visible; } #ptShop .ptegrid button { flex-basis:104px; } }
.pgrid > *, #ptShop, #ptShop .ptevery { min-width:0; } /* the product strip scrolls inside the column instead of widening the page */

/* the home hero, cleaner (2026-11-25): four pieces, two with their portrait, two as Originals */
.any .anyimg { display:grid; grid-template-columns:1fr 1fr; gap:12px; aspect-ratio:auto; background:none; border-radius:0; overflow:visible; max-width:560px; justify-self:end; width:100%; }
.any .anyimg figure { margin:0; position:relative; border-radius:14px; overflow:hidden; background:var(--soft); aspect-ratio:1; }
.any .anyimg img { width:100%; height:100%; object-fit:cover; display:block; }
.any .anyimg figcaption { position:absolute; left:8px; bottom:8px; padding:4px 9px; border-radius:999px; background:rgba(255,255,255,.92); font-size:11.5px; font-weight:600; letter-spacing:.01em; }
@media (max-width:860px) { .any .anyimg { order:0; justify-self:stretch; gap:8px; } .any { padding-top:24px; gap:24px; } }
.any .anyimg figure { border:1px solid var(--line); background:#fff; } .any .anyimg figcaption { background:var(--soft); }

/* one compact panel under the picture (Chad 2026-11-25): the bar, the chips, then every option as a one-line row */
.ptpanel { margin-top:4px; padding:12px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.ptpanel .ptask { margin:0; } .ptpanel .ptchips { margin-top:8px; } .ptpanel .ptreply { margin:8px 0 0; }
.ptpanel .field, .ptpanel .ptmore .field { display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:8px; margin:10px 0 0; }
.ptpanel .field[hidden] { display:none; }
.ptpanel .flabel { margin:0; font-size:12.5px; font-weight:600; color:var(--muted); display:block; } .ptpanel .flabel b { display:none; }
.ptpanel .swatches { display:flex; gap:7px; flex-wrap:wrap; } .ptpanel .swatches button { width:26px; height:26px; }
.ptpanel .sizes, .ptpanel .seg { display:flex; gap:6px; overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; } .ptpanel .sizes::-webkit-scrollbar, .ptpanel .seg::-webkit-scrollbar { display:none; }
.ptpanel .sizes button, .ptpanel .seg button { flex:none; min-width:0; min-height:0; height:32px; padding:0 11px; font-size:13px; border-radius:999px; line-height:1; display:inline-flex; align-items:center; gap:4px; }
.ptpanel .sizes button small, .ptpanel .seg button small { font-size:10.5px; }
.ptpanel .ptmore { margin:0; border:0; padding:0; } .ptpanel #ptNameRow .input { height:36px; font-size:15px; }
.ptpanel .ptmore:has(.field:not([hidden])) { border-top:1px dashed var(--line); margin-top:10px; padding-top:0; }
.ptpanel, .ptpanel .field, .ptpanel .field > *, .ptpanel .ptmore, .ptpanel .ptask, .ptpanel .ptchips { min-width:0; max-width:100%; } /* rows scroll inside the panel, never widen the page */

/* Under it: the box first, the quick picks under it (2026-11-25) */
.ptwordsbox { display:grid; gap:6px; min-width:0; } .ptwordsbox .input { height:36px; font-size:15px; border-radius:999px; padding:0 14px; }

/* pick up where you left off (2026-11-25) */
.resume { display:flex; align-items:center; gap:12px; margin-top:16px; padding:10px 14px 10px 10px; border:1.5px solid var(--ink); border-radius:14px; text-decoration:none; color:var(--ink); max-width:420px; background:#fff; }
.resume img { width:52px; height:52px; border-radius:10px; object-fit:cover; background:var(--soft); flex:none; }
.resume span { flex:1; display:grid; } .resume b { font-size:15px; } .resume small { color:var(--muted); font-size:13px; } .resume i { font-style:normal; font-size:18px; }
.resume:hover { background:var(--soft); }

.anyfig { display:block; text-decoration:none; color:inherit; } .anyfig figure { transition:border-color .2s; } .anyfig:hover figure { border-color:var(--ink); }
.anyfig img { transition:transform .5s cubic-bezier(.2,.7,.2,1); } .anyfig:hover img { transform:scale(1.03); }

/* the strip by kind (2026-11-25) */
.ptcats { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin:0 0 8px; } .ptcats::-webkit-scrollbar { display:none; }
.ptcats button { flex:none; border:1px solid var(--line); background:#fff; border-radius:999px; padding:6px 12px; font:inherit; font-size:13px; font-weight:500; color:var(--ink); cursor:pointer; }
.ptcats button.on { background:var(--ink); color:#fff; border-color:var(--ink); }
#ptShop .ptegrid button[hidden] { display:none; }

/* why Petty, under the home hero (2026-11-25) */
.trust { list-style:none; margin:0 0 clamp(28px,5vw,48px); padding:18px 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust li { display:flex; gap:12px; align-items:flex-start; font-size:13.5px; color:var(--muted); line-height:1.4; }
.trust svg { flex:none; width:24px; height:24px; fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.trust b { display:block; color:var(--ink); font-size:14.5px; font-weight:600; }
@media (max-width:860px) { .trust { grid-template-columns:1fr 1fr; gap:16px 14px; } }
/* the footer's five columns */
.sitefoot .footin { grid-template-columns:1.4fr repeat(4,minmax(0,1fr)); }
@media (max-width:860px) { .sitefoot .footin { grid-template-columns:1fr 1fr; } .sitefoot .footin .fcol:first-child { grid-column:1 / 3; } }

.cartname b { display:block; } .cartname small { display:block; color:var(--muted); font-size:13px; line-height:1.4; margin-top:2px; }

/* every product on the home page, by kind (2026-11-25) */
.anyhead { display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-bottom:18px; } .anyhead h2 { margin:0 !important; }
.anycats { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; max-width:100%; } .anycats::-webkit-scrollbar { display:none; }
.anygrid a[hidden] { display:none; }

/* computers: the products in a column left of the picture (2026-11-25) */
@media (min-width:861px) {
  #portrait .gallery:has(> #ptEvery:not([hidden])) { grid-template-columns:212px minmax(0,1fr); align-items:start; }
  #portrait .gallery > #ptEvery { grid-column:1; grid-row:1 / span 2; margin:0; max-height:calc(100vh - 110px); overflow-y:auto; scrollbar-width:thin; padding-right:4px; }
  #portrait .gallery > #ptEvery ~ .mainimg { grid-column:2; grid-row:1; }
  #portrait .gallery > #ptEvery ~ .ptpicks { grid-column:2; grid-row:2; }
  #portrait .gallery > #ptEvery .ptcats { flex-wrap:wrap; overflow:visible; margin-bottom:10px; }
  #portrait .gallery > #ptEvery .ptcats button { padding:5px 10px; font-size:12.5px; }
  #portrait .gallery > #ptEvery .ptegrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; overflow:visible; }
  #portrait .gallery > #ptEvery .ptegrid button { width:auto; flex:none; padding:3px 3px 6px; border:1.5px solid var(--line); background:#fff; border-radius:10px; text-align:center; }
  #portrait .gallery > #ptEvery .ptegrid button.on { border-color:var(--ink); }
  #portrait .gallery > #ptEvery .ptegrid button[hidden] { display:none; }
  #portrait .gallery > #ptEvery .ptegrid b { font-size:12px; margin-top:3px; } #portrait .gallery > #ptEvery .ptegrid small { font-size:11px; }
}

/* phones (Chad 2026-11-25: "easier to navigate on the phone"): the header slides away on the way down, the big picture
   scrolls with the page and a slim bar stands in for it, every product in a sheet that opens from the product's name */
.ptswap, .ptmini, .ptsheet { display:none; }
@media (max-width:860px) {
  .top { transition:transform .25s ease; }
  html.tophid .top { transform:translateY(-100%); }
  #portrait.picked .gallery { position:static; padding-bottom:0; }
  #portrait.picked .mainimg { height:auto; max-height:52vh; }
  .ptbox { scroll-margin-top:calc(var(--toph, 64px) + 8px); }
  .ptswap:not([hidden]) { display:inline-flex; align-items:center; gap:6px; position:absolute; left:10px; bottom:10px; z-index:2; padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.95); font:inherit; font-size:14px; font-weight:600; color:var(--ink); cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.08); }
  .ptswap i { font-style:normal; font-weight:500; color:var(--muted); }
  .ptswap i::after { content:''; display:inline-block; width:6px; height:6px; margin:0 0 3px 6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
  .ptmini:not([hidden]) { display:flex; align-items:center; gap:10px; position:fixed; left:0; right:0; top:var(--toph, 64px); z-index:9; padding:8px 16px; background:rgba(255,255,255,.97); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); transition:top .25s ease; }
  html.tophid .ptmini { top:0; }
  .ptminiimg { flex:none; width:52px; height:52px; padding:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#fff; cursor:pointer; }
  .ptminiimg canvas { width:100%; height:100%; display:block; }
  .ptminiinfo { flex:1; min-width:0; display:flex; flex-direction:column; } .ptminiinfo b { font-size:15px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .ptminiinfo small { font-size:13px; color:var(--muted); }
  .ptminiswap { flex:none; border:1px solid var(--ink); background:#fff; border-radius:999px; padding:8px 14px; font:inherit; font-size:13.5px; font-weight:600; color:var(--ink); cursor:pointer; }
  .ptsheet:not([hidden]) { display:flex; align-items:flex-end; position:fixed; inset:0; z-index:40; background:rgba(20,16,12,.38); animation:ptfade .2s ease; }
  .ptsheetin { width:100%; max-height:86vh; display:flex; flex-direction:column; background:#fff; border-radius:16px 16px 0 0; padding:6px 16px calc(12px + env(safe-area-inset-bottom)); animation:ptup .25s ease; }
  .ptsheethead { display:flex; align-items:center; justify-content:space-between; padding:10px 0 8px; }
  .ptsheethead b { font-size:17px; font-weight:600; }
  .ptsheethead button { width:36px; height:36px; border:0; border-radius:50%; background:var(--soft); font-size:22px; line-height:1; color:var(--ink); cursor:pointer; }
  #ptSheetBody { overflow-y:auto; overscroll-behavior:contain; margin:0 -4px; padding:0 4px; }
  #ptSheetBody .ptevery { margin:0; }
  #ptSheetBody .ptcats { position:sticky; top:0; z-index:1; background:#fff; padding:2px 0 8px; margin:0; }
  #ptSheetBody .ptegrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding-bottom:6px; }
  #ptSheetBody .ptegrid button { padding:3px 3px 7px; border:1.5px solid var(--line); background:#fff; border-radius:10px; text-align:center; }
  #ptSheetBody .ptegrid button.on { border-color:var(--ink); }
  #ptSheetBody .ptegrid button[hidden] { display:none; }
  #ptSheetBody .ptegrid b { font-size:12.5px; margin-top:4px; } .ptsheetbody .ptegrid small { font-size:11.5px; }
  html.ptlock, html.ptlock body { overflow:hidden; }
}
@keyframes ptup { from { transform:translateY(40px); opacity:.4; } }
@keyframes ptfade { from { opacity:0; } }

/* their portraits in the Your portrait card (Chad 2026-11-25): tap one to put it on the product */
.ptsum { flex-wrap:wrap; }
.ptsumpicks { flex-basis:100%; display:flex; flex-wrap:wrap; gap:8px; padding-top:10px; border-top:1px solid var(--line); }
.ptsumpicks button { position:relative; display:inline-flex; align-items:center; gap:8px; padding:4px 14px 4px 4px; border:1.5px solid var(--line); border-radius:999px; background:#fff; font:inherit; font-size:14px; font-weight:500; color:var(--ink); cursor:pointer; aspect-ratio:auto; }
.ptsumpicks button.on { border-color:var(--ink); font-weight:600; }
.ptsumpicks img { width:32px; height:32px; object-fit:contain; border-radius:50%; background:var(--soft); }
.ptsumpicks span { position:static; background:none; padding:0; font-size:inherit; }
.ptback { margin-left:4px; border:0; background:none; padding:0; font:inherit; font-weight:600; color:var(--ink); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
/* About the product, in our words (2026-11-25) */
.ptdesc p { margin:0 0 8px; color:var(--ink); line-height:1.55; }
.ptdesc ul { margin:0; padding-left:18px; display:flex; flex-direction:column; gap:3px; font-size:14px; color:var(--muted); line-height:1.45; }
@media (max-width:860px) { .pgrid .info > details, .pgrid .info > .perks { align-self:stretch; } } /* full width on phones, not as wide as their words */

/* real-life photos (Chad 2026-11-25: "we have no models or real life type images"): on the home tiles the real-life shot
   fades in on hover; on Make It Yours a row of them under the picture */
.anypic { position:relative; display:block; border-radius:12px; overflow:hidden; }
.anygrid .anypic img { border-radius:0; }
.anygrid .anylife { position:absolute; inset:0; height:100%; opacity:0; transition:opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
@media (hover:hover) { .anygrid a:hover .anylife { opacity:1; } }
.ptlife { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ptlife > small { flex-basis:100%; font-size:12.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.ptlife button { width:64px; height:64px; padding:0; border:1.5px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; cursor:pointer; flex:none; }
.ptlife button.on { border-color:var(--ink); }
.ptlife button img, .ptlife button canvas { width:100%; height:100%; object-fit:cover; display:block; }
.ptlifeimg { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#fff; z-index:1; }
@media (min-width:861px) { #portrait .gallery > #ptEvery ~ .ptlife { grid-column:2; grid-row:2; } }
@media (min-width:861px) { #portrait .gallery:has(.ptex) .ptlife { grid-column:2; } }
/* Petty Originals opens on the designs (Chad 2026-11-28: "you do not see the actual products"): no promises row on top
   (the product page has them), and on phones each filter is one row that swipes sideways */
#home.originals .trust { display:none; }
@media (max-width:860px) {
  #home.originals .shop { padding-top:14px; }
  .shophead { display:block; margin-bottom:16px; }
  .shophead h2 { margin-bottom:12px; }
  .shophead .chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -20px 8px; padding:0 20px 2px; scroll-padding:0 20px; }
  .shophead .chips::-webkit-scrollbar { display:none; }
  .shophead .chips > * { flex:none; }
}
/* working (2026-11-28): the spinner above everything in the picture, a bar that moves, the pressed button spinning,
   the other picture buttons waiting, and the slim phone bar saying so */
.ptwait { z-index:3; background:rgba(255,255,255,.86); gap:8px; }
.ptwait .ptspin { width:44px; height:44px; border-width:4px; color:var(--ink); }
.ptwait b { font-size:17px; }
.ptwaitbar { display:block; width:min(240px,70%); height:6px; border-radius:6px; background:rgba(0,0,0,.1); overflow:hidden; margin-top:4px; }
.ptwaitbar i { display:block; height:100%; width:4%; border-radius:6px; background:var(--ink); transition:width 42s cubic-bezier(.15,.7,.35,1); }
#portrait.ptbusy :is(#ptChips button, #ptAsk input, #ptAsk button, #ptMake, #ptSumPicks button):not(.ptbtnbusy) { opacity:.45; pointer-events:none; }
.ptbtnbusy { position:relative; pointer-events:none; color:transparent !important; }
.ptbtnbusy::after { content:''; position:absolute; left:50%; top:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; border:2px solid rgba(0,0,0,.18); border-top-color:var(--ink); animation:ptspin .8s linear infinite; }
.btn.ptbtnbusy::after, .ptsend.ptbtnbusy::after { border-color:rgba(255,255,255,.35); border-top-color:#fff; }
.btn.ghost.ptbtnbusy::after { border-color:rgba(0,0,0,.18); border-top-color:var(--ink); }
.ptsend.ptbtnbusy > * { visibility:hidden; }
#portrait.ptbusy .ptminiimg { position:relative; }
#portrait.ptbusy .ptminiimg::after { content:''; position:absolute; inset:0; margin:auto; width:22px; height:22px; border-radius:50%; border:3px solid rgba(255,255,255,.5); border-top-color:var(--ink); background:rgba(255,255,255,.55); animation:ptspin .8s linear infinite; }
#portrait.ptbusy .ptminiinfo small { font-size:0; }
#portrait.ptbusy .ptminiinfo small::after { content:'Making it…'; font-size:13px; }
@media (prefers-reduced-motion: reduce) { .ptbtnbusy::after, #portrait.ptbusy .ptminiimg::after { animation:none; } .ptwaitbar i { transition:none; width:60%; } }

/* the options panel in plain sections (Chad 2026-11-29: "this section is too confusing"): a title over each group, the
   name box on its own row with its label above it, and the Change buttons in soft coral so they don't blend in */
.ptpanel .ptsec { margin:0 0 8px; font-size:14px; font-weight:700; color:var(--ink); }
.ptpanel .ptsec small { font-size:12px; font-weight:500; color:var(--muted); margin-left:4px; }
.ptpanel .ptsec ~ .ptsec, .ptpanel .ptmore .ptsec { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.ptpanel .ptmore:has(.field:not([hidden])) { border-top:0; margin-top:0; }
.ptpanel .field.ptnamefield { display:block; margin-top:12px; }
.ptpanel .ptnamefield .flabel { display:block; margin:0 0 6px; font-size:13px; color:var(--ink); }
.ptpanel .ptnamefield .flabel small { font-weight:500; color:var(--muted); margin-left:4px; }
.ptpanel .ptnamefield .ptwordsbox .input { width:100%; height:44px; font-size:16px; border-radius:12px; border:1.5px solid #cfc6bd; }
.ptpanel .ptnamefield .ptwordsbox .input:focus { border-color:var(--ink); outline:none; }
.ptsum #ptSumEdit, .ptminiswap { background:#ffece6; border:1.5px solid var(--coral); color:var(--ink); }
.ptswap i { background:#ffece6; border:1px solid var(--coral); color:var(--ink) !important; border-radius:999px; padding:3px 10px; }

.ptadded .btn { margin:0 8px 0 0; padding:8px 18px; min-height:0; font-size:14px; } /* Check out, right where they just added (Chad 2026-11-29) */
/* letters for their name: a style and a place (2026-11-29) */
.ptpanel .ptletters .field { display:block; margin-top:12px; }
.ptpanel .ptletters .flabel { display:block; margin:0 0 6px; font-size:13px; color:var(--ink); }
.ptpanel #ptFonts button { height:36px; padding:0 14px; }
/* an ad's product picture until the builder draws (2026-11-30) */
.ptbox .ptquickpic { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:var(--soft); }
/* the other half of a matching set (2026-12-01) */
.ptadded .ptsetbtn { display:block; width:100%; margin:0 0 8px; background:var(--coral, #FF6A4D); border-color:var(--coral, #FF6A4D); color:#fff; }
/* buy 2, save (2026-12-01) */
.ptdeal { margin:-4px 0 10px; font-size:14px; font-weight:600; color:var(--coral, #FF6A4D); }
/* the bar after adding: the next step (2026-12-01) */
.ptbuy.done .btn { min-width:0; flex:1; }
.ptbuy.done.pair .ptbuyinfo { display:none; }
.ptbuy .ptsetbtn { background:var(--coral, #FF6A4D); border-color:var(--coral, #FF6A4D); color:#fff; }
@media (max-width:860px) { .ptbuy { padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); } .ptbuy .btn { min-height:46px; } }
/* an ad's product on a phone (Chad 2026-12-01: "underneath are all the other product options and below them were the
   additional photos"): the picture, then it in real life, then the grid of every product (kept a grid: Chad 2026-11-24, a swipe row hid most of them) */
@media (max-width:860px) {
  #portrait .gallery { display:flex; flex-direction:column; }
  #portrait .gallery > .ptlife { order:2; }
  #portrait .gallery > .ptpicks { order:3; }
  .pgrid .info > .ptdeal { order:3; margin:2px 0 0; }
}

/* Email me the portrait (2026-12-01) */
.ptmail { margin:12px 0 4px; padding:14px; border:1px solid var(--line, #eadfd6); border-radius:14px; background:#FBF8F2; }
.ptmailhead { margin:0 0 10px; font-size:15px; } .ptmailhead small { display:block; color:var(--muted); font-size:13px; margin-top:2px; }
.ptmailrow { display:flex; gap:8px; } .ptmailrow .input { flex:1; min-width:0; margin:0; } .ptmailrow .btn { width:auto; padding:0 20px; flex:none; }
.ptmailnews { display:flex; gap:8px; align-items:center; margin-top:10px; font-size:13px; color:var(--muted); }
.ptmail .fine:empty { display:none; } .ptmail.sent .ptmailrow, .ptmail.sent .ptmailnews { display:none; }
.cemail { display:block; margin:14px 0 4px; } .cemail span { display:block; font-weight:600; font-size:14px; margin-bottom:6px; } .cemail .input { width:100%; margin:0; } .cemail small { display:block; color:var(--muted); font-size:12px; margin-top:5px; }

/* the live preview (2026-12-01): their photo on the product while the portrait is painted; the wait shrinks to a pill */
.ptwait.ptlive { inset:12px 12px auto 12px; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:4px 10px; padding:10px 14px; border-radius:14px; background:rgba(255,255,255,.94); box-shadow:0 2px 12px rgba(0,0,0,.1); text-align:left; }
.ptwait.ptlive .ptspin { width:20px; height:20px; border-width:3px; flex:none; }
.ptwait.ptlive b { font-size:14px; flex:1; min-width:0; }
.ptwait.ptlive small { display:none; }
.ptwait.ptlive .ptwaitbar { flex-basis:100%; }

/* why Petty (2026-12-01): the difference reads at a glance, not as fine print */
.trust li { font-size:14.5px; }
.trust b { font-size:16.5px; margin-bottom:2px; }
.trust svg { width:28px; height:28px; stroke-width:1.8; }
