/* The studio (index.html's dialog, assets/studio.mjs) and the bits the storefront adds to style.css */
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-actions .button { margin-top: 0; }
.button-ghost { color: var(--paper); border-color: #ffffff40; background: transparent; }
.button-ghost:hover { background: #ffffff12; }

dialog.studio {
  width: min(100vw, 1120px); max-width: 100vw; height: min(100dvh, 780px); max-height: 100dvh; padding: 0; overflow: hidden;
  display: none; flex-direction: column; background: radial-gradient(ellipse at 80% 0%, #222d40 0, #142036 55%); border-color: #6f84a880;
}
dialog.studio[open] { display: flex; }
@media (max-width: 760px) { dialog.studio { width: 100vw; height: 100dvh; border: 0; border-radius: 0; margin: 0; } }

.st-head { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line); flex: none; }
.st-back, .st-close { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.5rem; line-height: 1; border-radius: 8px; flex: none; }
.st-back:hover, .st-close:hover { background: #ffffff14; }
.st-head form { margin-left: auto; }
.st-dots { display: flex; gap: .4rem; list-style: none; margin: 0 auto; padding: 0; }
.st-dots li { width: 28px; height: 4px; border-radius: 4px; background: #ffffff25; transition: background .3s; }
.st-dots li.on { background: var(--pink); }

.st-step { flex: 1; min-height: 0; overflow: auto; padding: clamp(1rem, 3.4vw, 2.2rem) clamp(1rem, 4vw, 3rem); display: flex; flex-direction: column; gap: .9rem; }
.st-step h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); padding: 0; margin: 0; }
.st-sub { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }
.st-err { min-height: 1.2em; color: #8fe3cf; font-weight: 650; }
.st-err:empty { min-height: 0; }
.st-fine { color: var(--muted); font-size: .85rem; }
.st-go { align-self: flex-start; min-height: 54px; padding-inline: 1.5rem; font-size: 1.05rem; }
@media (max-width: 760px) { .st-go { align-self: stretch; } }

/* 1. photo */
.drop { position: relative; flex: 1; min-height: 200px; max-height: 420px; display: grid; place-content: center; justify-items: center; gap: .4rem; text-align: center;
  border: 2px dashed #ffc53d80; border-radius: 14px; background: #ffffff08; cursor: pointer; overflow: hidden; padding: 1rem; transition: background .2s, border-color .2s; }
.drop:hover, .drop.over { background: #ffc53d14; border-color: var(--pink); }
.drop-icon { width: 54px; height: 44px; border: 3px solid var(--pink); border-radius: 10px; position: relative; margin-bottom: .4rem; }
.drop-icon::before { content: ""; position: absolute; width: 18px; height: 18px; border: 3px solid var(--pink); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.drop-icon::after { content: ""; position: absolute; width: 14px; height: 6px; background: var(--pink); border-radius: 3px 3px 0 0; left: 8px; top: -8px; }
.drop-big { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; }
.drop-small { color: var(--muted); font-size: .9rem; }
.drop-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0d1626; padding: .6rem; }

/* 2. style */
.st-title { display: flex; align-items: center; gap: .9rem; }
.victim { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; border: 2px solid var(--pink); transform: rotate(-4deg); flex: none; }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.style { position: relative; display: flex; align-items: center; gap: .7rem; padding: .45rem .7rem .45rem .45rem; border-radius: 12px; border: 1px solid var(--line); background: #ffffff0a; cursor: pointer; min-height: 72px; transition: border-color .15s, background .15s; }
.style:hover { border-color: #ffc53da0; }
.style input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.style:has(input:checked) { border-color: var(--pink); background: #ffc53d1f; box-shadow: inset 0 0 0 1px var(--pink); }
.style:has(input:focus-visible) { outline: 2px solid #8fe3cf; outline-offset: 3px; }
.style-thumb { width: 36px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; background: #1d2b42; }
.style-name { font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
.style::after { content: ""; margin-left: auto; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #ffffff50; }
.style:has(input:checked)::after { border-color: var(--pink); background: radial-gradient(circle, var(--pink) 0 5px, transparent 6px); }
.hot { flex: none; padding: .12rem .42rem; border-radius: 99px; background: linear-gradient(104deg, #ffcb52, #ffd27a); color: #1a2740; font-size: .75rem; font-weight: 900; letter-spacing: .03em; line-height: 1.3; }
.styles .chip { min-height: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .styles { grid-template-columns: 1fr; gap: .4rem; }
  .style { min-height: 60px; padding-block: .3rem; }
  .style-thumb { width: 30px; height: 53px; }
  .st-step[data-step="style"] .st-go { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -12px 16px #142036; flex: none; }
}
.checkout select { flex: 1; width: 100%; min-height: 46px; background: #1d2b42; color: var(--paper); border: 1px solid #5a6d8c; border-radius: 6px; padding: .35rem .6rem; }
.st-signin { padding: 1rem; border-radius: 12px; background: #1d2b42; border: 1px solid #5a6d8c; max-width: 480px; }
.st-signin h3 { font-size: 1.3rem; letter-spacing: -.04em; margin-bottom: .3rem; }
.st-signin .small { color: var(--muted); font-size: .92rem; margin-bottom: .5rem; }
.st-signin .field { display: grid; gap: .35rem; }
.st-signin label { font-weight: 700; }
.st-signin input { width: 100%; min-height: 46px; padding: .5rem .7rem; border-radius: 6px; background: #142036; color: var(--paper); border: 1px solid #5a6d8c; }
.st-signin .err { color: #8fe3cf; min-height: 1.2em; font-weight: 650; font-size: .92rem; }
.st-signin .btn { width: 100%; min-height: 48px; border: 0; border-radius: 6px; font-weight: 800; color: #1a2740; background: linear-gradient(104deg, #ffcb52, #ffd27a); }
.st-signin .link { border: 0; background: none; color: var(--muted); text-decoration: underline; padding: .5rem 0; }

/* 3. making and the result */
.st-step[data-step="made"] { flex-direction: row; align-items: center; gap: clamp(1rem, 4vw, 3rem); }
@media (max-width: 760px) { .st-step[data-step="made"] { flex-direction: column; align-items: stretch; } }
.made-stage { position: relative; flex: 1.1; min-width: 0; max-height: 100%; aspect-ratio: 1; max-width: min(100%, 560px); border-radius: 14px; overflow: hidden; background: #09101c; box-shadow: 0 20px 40px #0008; align-self: center; width: 100%; }
@media (max-width: 760px) { .made-stage { max-width: min(100%, 46dvh); } }
.made-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.made-photo { filter: saturate(.6) blur(2px) brightness(.8); transition: filter .6s; }
.made-art { animation: reveal .9s cubic-bezier(.2, .8, .2, 1); }
@keyframes reveal { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.made-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 40%, #ffc53d55 50%, transparent 60%) 0 0 / 100% 220%; animation: scan 1.8s linear infinite; mix-blend-mode: screen; }
.made-scan.done { display: none; }
@keyframes scan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.made-copy { flex: 1; display: grid; gap: .9rem; align-content: center; min-width: 0; }
.bar { height: 6px; border-radius: 6px; background: #ffffff1c; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffcb52, #ffd27a); transition: width .8s linear; }
.made-actions { display: grid; gap: .3rem; justify-items: start; }
@media (max-width: 760px) { .made-actions { justify-items: stretch; } .made-actions .link-button { justify-self: center; } }
.art-strip { display: flex; gap: .5rem; flex-wrap: wrap; }
.art-strip button { width: 64px; height: 64px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #09101c; }
.art-strip button[aria-pressed="true"] { border-color: var(--pink); }
.art-strip img { width: 100%; height: 100%; object-fit: cover; }

/* 4. their words on the art: tools left, the art right (phone: tools, then the art, then Next) */
.st-count { margin: 0; font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.st-head .st-dots { margin: 0 0 0 auto; }
.st-head .st-count { margin-right: auto; }
@media (max-width: 480px) { .st-dots li { width: 16px; } .st-count-name { display: none; } }
.st-step[data-step="text"] { padding-block: clamp(.6rem, 2vw, 1.4rem); }
.words { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "tools view" "go view"; gap: .9rem clamp(1rem, 3vw, 2.4rem); }
.words-tools { grid-area: tools; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: .85rem; padding-right: .2rem; }
.words-tools h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.words-view { grid-area: view; min-height: 0; display: flex; flex-direction: column; gap: .5rem; }
.words-go { grid-area: go; display: grid; gap: .5rem; }
.words textarea { width: 100%; min-height: 96px; resize: vertical; padding: .6rem .7rem; border-radius: 6px; background: #1d2b42; color: var(--paper); border: 1px solid #5a6d8c; font: inherit; font-size: 1rem; line-height: 1.4; }
.words textarea:focus-visible { outline: 2px solid #8fe3cf; outline-offset: 2px; }
.font-pick { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .45rem; }
.font-pick legend { padding: 0; margin-bottom: .4rem; }
.font-opt { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .7rem; min-height: 52px; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: #ffffff0a; cursor: pointer; }
.font-opt:hover { border-color: #ffc53da0; }
.font-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.font-opt:has(input:checked) { border-color: var(--pink); background: #ffc53d1f; box-shadow: inset 0 0 0 1px var(--pink); }
.font-opt:has(input:focus-visible) { outline: 2px solid #8fe3cf; outline-offset: 3px; }
.font-name { font-size: 1.25rem; line-height: 1.2; }
.font-note { color: var(--muted); font-size: .82rem; }
.words-stage { position: relative; flex: 1; min-height: 220px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; border-radius: 14px; background: #09101c; padding: .8rem; }
.words-stage:focus-visible { outline: 2px solid #8fe3cf; outline-offset: 2px; }
.words-stage canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 14px 30px #00000080; border-radius: 4px; touch-action: pan-x pan-y; }
.words-stage.dragging canvas { cursor: grabbing !important; }
.words-stage.loading::after { content: "Loading the lettering…"; position: absolute; top: .6rem; left: .6rem; padding: .2rem .55rem; border-radius: 99px; background: #0d1626d9; color: var(--paper); font-size: .74rem; font-weight: 750; }
.font-credits { font-size: .76rem; line-height: 1.45; }
.font-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .words { flex: 0 0 auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "tools" "view" "go"; }
  .words-tools { overflow: visible; }
  .words-tools h2 { font-size: 1.8rem; }
  .words-stage { flex: none; min-height: 0; height: 42dvh; padding: .5rem; }
  .words-go .st-go { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -14px 18px #142036; }
  .words-view .words-how { display: block; }
  .words-view .words-how[hidden] { display: none; }
}

/* 5. on the gift */
.st-step[data-step="place"] { padding-block: clamp(.6rem, 2vw, 1.4rem); }
.place { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 3vw, 2.4rem); }
.place-view { min-height: 0; display: flex; flex-direction: column; gap: .5rem; }
.mug3d { flex: 1; min-height: 200px; width: 100%; border-radius: 14px; background: radial-gradient(ellipse at 50% 30%, #bff0e2, #d9a63a 90%); touch-action: none; cursor: grab; }
.mug3d:active { cursor: grabbing; }
.flat { flex: 1; min-height: 200px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; border-radius: 14px; background: radial-gradient(ellipse at 50% 20%, #9fb0d0, #726fa8 90%); padding: 1rem; touch-action: none; }
.flat canvas { max-width: 100%; max-height: 100%; box-shadow: 0 14px 30px #20133780; cursor: grab; }
.flat.round canvas { border-radius: 14%; }
/* the canvas: its front, with the 1.25" side showing as a dark edge */
.flat.on-canvas canvas { border-radius: 2px; box-shadow: 4px 4px 0 #2d3544, 7px 7px 0 #212833, 0 18px 34px #20133790; }
.place-hint { color: var(--muted); font-size: .85rem; }
.wrap-strip { flex: none; position: relative; border-radius: 8px; overflow: hidden; border: 1px solid #ffffff30; touch-action: none; cursor: grab; }
.wrap-strip canvas { display: block; width: 100%; height: auto; }
.handle-mark { position: absolute; top: 0; bottom: 0; width: 18px; display: grid; place-items: center; writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #1a2740; background: #ffffffb0; pointer-events: none; }
.handle-mark.l { left: 0; } .handle-mark.r { right: 0; }
.place-tools { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: .85rem; padding-right: .2rem; }
.place-tools h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.tool { display: grid; gap: .4rem; }
.tool-row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.tool-row .tool-label { margin-right: .3rem; }
.tool-label { font-weight: 700; font-size: .92rem; }
.tool input[type="range"] { width: 100%; accent-color: var(--pink); }
.tool input:not([type]) { width: 100%; min-height: 46px; padding: .5rem .7rem; border-radius: 6px; background: #1d2b42; color: var(--paper); border: 1px solid #5a6d8c; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid #5a6d8c; border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: transparent; min-height: 42px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.seg button + button { border-left: 1px solid #5a6d8c; }
.seg button[aria-checked="true"] { background: var(--pink); color: #1a2740; }
.chip { border: 1px solid #5a6d8c; background: #1d2b42; border-radius: 99px; min-height: 38px; padding: .3rem .85rem; font-weight: 700; font-size: .88rem; }
.chip:hover { border-color: var(--pink); }
.chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.chips .chip { min-height: 32px; font-size: .8rem; font-weight: 650; }
.bgs { display: flex; gap: .45rem; flex-wrap: wrap; }
.bgs button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ffffff40; padding: 0; }
.bgs button[aria-checked="true"] { border-color: var(--paper); box-shadow: 0 0 0 2px var(--pink); }
/* the shop cards: the printer's photo of each gift over the drawn mockup, which stays underneath as the fallback */
.product-stage { position: relative; }
.ds-shot { display: none; }
.product-stage.has-shot { padding: 0; background: #f1f4f9; }
.product-stage.has-shot .mockup { display: none; }
.product-stage.has-shot .ds-shot { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* the gift, switched in the studio */
.gift-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #5a6d8c; border-radius: 8px; overflow: hidden; }
.gift-pick button { border: 0; background: transparent; min-height: 50px; padding: .35rem .2rem; display: grid; place-content: center; gap: .05rem; font-weight: 750; font-size: .84rem; color: var(--muted); line-height: 1.15; }
.gift-pick button + button { border-left: 1px solid #5a6d8c; }
.gift-pick button small { font-weight: 650; font-size: .76rem; }
.gift-pick button[aria-checked="true"] { background: var(--pink); color: #1a2740; }
.gift-pick button:focus-visible { outline: 2px solid var(--paper); outline-offset: -4px; }

/* while the makeover paints */
.made-early { justify-self: start; margin-top: 0; }

/* the placement preview's label, and the printer's photo */
.place-view { position: relative; }
.view-tag { position: absolute; top: .55rem; left: .55rem; z-index: 2; padding: .2rem .55rem; border-radius: 99px; background: #0d1626d9; color: var(--paper); font-size: .74rem; font-weight: 750; letter-spacing: .02em; pointer-events: none; }
.view-tag[hidden] { display: none; }
.proof-view { flex: 1; min-height: 200px; margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #f1f4f9; display: grid; }
.proof-view[hidden] { display: none; }
.proof-view img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.proof-view figcaption { position: absolute; inset: .55rem .55rem auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.proof-view .view-tag { position: static; }
.proof-view .chip { background: #0d1626d9; color: var(--paper); }
.proof { flex: none; display: flex; align-items: center; gap: .7rem; padding: .55rem .65rem; border: 1px solid #ffffff26; border-radius: 10px; background: #1a1324; min-height: 64px; }
.proof[hidden] { display: none; }
.proof[data-state="ready"] { border-color: #ffc53d99; }
.proof[data-state="failed"] { border-color: #8fe3cf80; }
.proof-shots { display: flex; gap: .35rem; flex: none; align-items: center; }
.proof-shots:empty { display: none; }
.proof-shot { width: 52px; height: 52px; padding: 0; border: 1px solid #ffffff30; border-radius: 8px; overflow: hidden; background: #f1f4f9; }
.proof-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.proof-shot:hover, .proof-shot[aria-pressed="true"] { border-color: var(--pink); box-shadow: 0 0 0 2px var(--pink); }
.proof-wait { width: 44px; height: 44px; border-radius: 8px; background: #1d2b42; display: grid; place-items: center; }
.proof-wait span { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #ffc53d55; border-top-color: var(--pink); animation: spin 1s linear infinite; }
.proof-clock { font-variant-numeric: tabular-nums; font-size: .8rem; color: var(--muted); min-width: 2.4em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .proof-wait span { animation: none; border-color: var(--pink); } }
.proof-copy { min-width: 0; flex: 1; display: grid; gap: .1rem; }
.proof-title { font-weight: 800; font-size: .9rem; }
.proof-line { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.proof .chip { flex: none; }

@media (max-width: 760px) {
  .place { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .proof-view { min-height: 0; height: 34dvh; flex: none; }
  .proof-shot { width: 44px; height: 44px; }
  .gift-pick button { font-size: .78rem; }
  .mug3d, .flat { min-height: 0; height: 34dvh; flex: none; }
  .place { flex: none; } /* the preview, the strip and the printer's photo keep their own heights; the step scrolls */
  .place-tools { overflow: visible; }
  .place-tools h2 { display: none; }
  .place-hint { display: none; }
}

/* 5. address */
.ship { display: flex; flex-direction: column; gap: .8rem; max-width: 620px; }
.ship .checkout { gap: .4rem; }
.ship .checkout label { font-weight: 700; margin-top: .25rem; }

/* the orders and admin pages */
.page { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4.2vw, 4.5rem) 4rem; min-height: 70vh; }
.page h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: .8rem; }
.page > p.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.card { border: 1px solid var(--line); border-radius: 12px; background: #142036; overflow: hidden; display: grid; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #1d2b42; }
.card .in { padding: .8rem .9rem; display: grid; gap: .3rem; }
.card .in p { color: var(--muted); font-size: .9rem; }
.page h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: 2.6rem; }
.empty { color: var(--muted); margin-top: 1rem; }
@media (max-width: 760px) {
  .place-tools .st-go { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -14px 18px #142036; }
}

/* the styles: their own photo in all eight, each card filling in as its picture arrives (since 2026-11-22) */
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 900px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } }
.pick { display: grid; align-content: start; gap: .35rem; padding: .35rem; border-radius: 14px; border: 1px solid var(--line); background: #ffffff0a; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.pick[aria-disabled="true"] { cursor: progress; }
.pick[data-state="ready"]:hover { border-color: #ffc53da0; }
.pick[aria-pressed="true"] { border-color: var(--pink); background: #ffc53d1f; box-shadow: inset 0 0 0 1px var(--pink); }
.pick:focus-visible { outline: 2px solid #8fe3cf; outline-offset: 3px; }
.pick-pic { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #1d2b42; }
.pick-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick:not([data-state="ready"]) .pick-pic img { filter: grayscale(.5) brightness(.5); }
.pick-paint { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffc53d2e 50%, transparent 70%); background-size: 250% 100%; animation: pick-sweep 1.8s linear infinite; }
@keyframes pick-sweep { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.pick-tag { position: absolute; left: .45rem; right: .45rem; bottom: .4rem; font-size: .8rem; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000c; }
.pick-label { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .4rem; padding: 0 .2rem .15rem; min-height: 2.2em; }
.pick-label .style-name { font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .pick-paint { animation: none; } }
.ship-you { margin-top: .4rem; }
.ship-you .field-stack { display: grid; gap: .25rem; }
.ship-you input { width: 100%; }
.st-err.ok { color: var(--pink); }
.line-tip { margin-top: -.15rem; }

/* Black Friday: a 2nd mug for a friend, 40% off (the place step, while the offer runs) */
.bf-two {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; width: 100%; text-align: left;
  padding: .7rem .8rem; border-radius: 12px; border: 1.5px dashed #ffc53daa; background: #ffc53d12; color: inherit;
  font: inherit; cursor: pointer; margin-bottom: .2rem;
}
.bf-two[hidden] { display: none; }
.bf-two:hover { background: #ffc53d1f; }
.bf-two[aria-checked="true"] { border-style: solid; border-color: #ffc53d; background: #ffc53d2a; }
.bf-two-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #ffc53d; display: grid; place-items: center; }
.bf-two[aria-checked="true"] .bf-two-box { background: #ffc53d; }
.bf-two[aria-checked="true"] .bf-two-box::after { content: ""; width: 10px; height: 5px; border: solid #0d1626; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.bf-two-copy { display: grid; gap: .05rem; min-width: 0; }
.bf-two-kicker { font-family: "Gabarito", "Arial Black", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; color: #ffc53d; }
.bf-two-main { font-weight: 800; font-size: .95rem; line-height: 1.2; }
.bf-two-fine { font-size: .78rem; opacity: .78; }
.bf-two-plus { font-weight: 800; color: #ffe08a; white-space: nowrap; }
.bf-ship { color: #ffe08a; }

/* Black Friday: 1 mug or 2, two plain choices next to the button (1 unless they pick 2) */
.two-pick[hidden] { display: none; }
.two-seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.two-seg button { display: grid; justify-items: start; gap: .05rem; text-align: left; padding: .6rem .75rem; border-radius: 10px;
  border: 1.5px solid #5a6d8c; background: transparent; color: inherit; min-height: 64px; }
.two-seg button b { font-size: .95rem; }
.two-seg button span { font-weight: 800; color: #ffe08a; }
.two-seg button small { font-size: .72rem; opacity: .75; }
.two-seg button[aria-checked="true"] { border-color: var(--pink); background: #ffc53d2a; box-shadow: inset 0 0 0 1px var(--pink); }
.place-fine { margin-top: .5rem; }
.made-price { margin-top: .4rem; }
@media (max-width: 760px) { .made-price { text-align: center; justify-self: stretch; } }
