/* Product page v2, "Custom size first" (Greg + Lyle, Dec 4 2026).
   Loaded only by templates/public/shop/product_v2.html. Every rule is scoped
   to .pp2 so nothing reaches the classic page. Tailwind is precompiled, so
   the new look lives here instead of new utility classes.
   Colours: slate #2E3A43, navy #142F42, lime #93D500 (Add to cart and the
   selected dot only), olive #4D7A00 / #3D6200, page #F6F7F4, tint #EEF6DC. */

.pp2 { --slate: #2E3A43; --navy: #142F42; --lime: #93D500; --olive: #4D7A00; --olive-d: #3D6200;
       --page: #F6F7F4; --tint: #EEF6DC; --line: #E3E7DF; --muted: #5C656C; --soft: #545559;
       font-family: Poppins, sans-serif; color: var(--slate); }
.pp2 button { font-family: inherit; cursor: pointer; }
.pp2 input, .pp2 textarea, .pp2 select { font-family: inherit; }
.pp2 button:focus-visible, .pp2 a:focus-visible, .pp2 input:focus-visible, .pp2 textarea:focus-visible,
.pp2 select:focus-visible, .pp2 label:focus-within > .pp2-drop-ico { outline: 3px solid rgba(147,213,0,.55); outline-offset: 2px; }

/* ---- Title ---- */
.pp2-head { margin-bottom: 4px; }
.pp2 .pp2-h1 { margin: 0; padding: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -1px; color: var(--slate); }
.pp2-h1-bar { width: 56px; height: 4px; border-radius: 2px; background: var(--lime); margin-top: 12px; }
.pp2-tag { margin: 12px 0 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: var(--soft); max-width: 920px; }
.pp2-lead { display: flex; gap: 10px; margin-top: 14px; padding: 10px 14px; border-left: 4px solid #F59E0B; background: #FFFBEB; border-radius: 0 10px 10px 0; color: #78350F; font-size: 14px; line-height: 1.45; }
.pp2-lead svg { flex: none; margin-top: 2px; color: #D97706; }
.pp2-lead-title { font-weight: 700; }

/* ---- Two columns ---- */
.pp2-cols { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; margin-top: 22px; }
.pp2-left { flex: 1 1 560px; min-width: 0; position: sticky; top: 16px; }
.pp2-right { flex: 0 0 500px; min-width: 0; }
@media (max-width: 1099px) {
    .pp2-left { flex: 1 1 100%; position: static; }
    .pp2-right { flex: 1 1 100%; }
}

/* ---- The stage: photos, or your sign ---- */
.pp2-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 540px; border-radius: 20px; overflow: hidden; background: #EEF1EC; }
.pp2-stage.is-photo { background: #DDE2DA; }
@media (max-width: 1099px) { .pp2-stage { max-height: 460px; } }
@media (max-width: 699px) { .pp2-stage { border-radius: 16px; } }
.pp2-photo { position: absolute; inset: 0; }
.pp2-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pp2-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 3px 10px rgba(20,47,66,.22); display: inline-flex; align-items: center; justify-content: center; }
.pp2-nav.is-prev { left: 10px; } .pp2-nav.is-next { right: 10px; }
.pp2-dots { position: absolute; left: 0; right: 0; bottom: 15px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pp2-dots span { display: block; height: 7px; width: 7px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(20,47,66,.18); transition: width .2s; }
.pp2-dots span.is-on { width: 22px; background: var(--lime); box-shadow: none; }
.pp2-count { position: absolute; right: 12px; bottom: 10px; background: rgba(20,30,36,.78); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }

.pp2-sign, .pp2-draw { position: absolute; inset: 0; }
.pp2-stage-top { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 6; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pp2-status { display: inline-block; min-width: 0; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; background: var(--slate); color: #fff; box-shadow: 0 2px 8px rgba(20,47,66,.18); }
.pp2-views { display: inline-flex; flex: none; gap: 3px; background: #E0E6DA; padding: 3px; border-radius: 11px; }
.pp2-views button { min-height: 36px; padding: 0 12px; border-radius: 9px; border: 0; font-size: 12px; font-weight: 500; color: var(--slate); background: transparent; }
.pp2-views button.is-on { font-weight: 600; background: #fff; box-shadow: 0 1px 3px rgba(20,47,66,.18); }
@media (max-width: 699px) { .pp2-status { max-width: 44%; } .pp2-views button { padding: 0 9px; } }

.pp2-board-area { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.pp2-wrap { position: relative; flex: none; }
.pp2-back { position: absolute; inset: 0; background: #fff; border: 1px solid #DCE1D6; box-shadow: 0 8px 18px rgba(20,47,66,.10); }
.pp2-back.is-1 { transform: translate(9px, -9px); }
.pp2-back.is-2 { transform: translate(18px, -18px); box-shadow: 0 8px 18px rgba(20,47,66,.08); }
.pp2-board { position: absolute; inset: 0; background: #fff; overflow: hidden; box-shadow: 0 18px 34px rgba(20,47,66,.18), 0 2px 4px rgba(20,47,66,.08); container-type: size; }
.pp2-drop { position: absolute; inset: 7%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px; box-sizing: border-box; border: 1.5px dashed #B9C4AE; border-radius: 6px; background: #FBFCF9; color: var(--slate); text-align: center; overflow: hidden; cursor: pointer; }
.pp2-drop:hover { border-color: var(--olive); background: #F6FCEB; }
.pp2-drop-ico { display: inline-flex; align-items: center; justify-content: center; width: clamp(24px, 17cqh, 44px); height: clamp(24px, 17cqh, 44px); border-radius: 999px; background: var(--tint); }
.pp2-drop-title { font-size: clamp(11px, 6.5cqh, 16px); font-weight: 600; line-height: 1.2; }
.pp2-drop-sub { font-size: clamp(9px, 4.5cqh, 12px); color: var(--soft); line-height: 1.3; }
.pp2-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pp2-plain { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; box-sizing: border-box; text-align: center; font-size: clamp(10px, 6cqh, 15px); font-weight: 600; color: var(--soft); background: #FBFCF9; word-break: break-word; }
.pp2-sketch { position: absolute; inset: 0; background-color: #FCFCFA; background-image: linear-gradient(rgba(46,58,67,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46,58,67,.06) 1px, transparent 1px); background-size: 14px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqh; padding: 30cqh 8% 0; box-sizing: border-box; }
.pp2-sketch-logo { position: absolute; left: 7%; top: 8%; width: 22%; height: 21%; display: flex; align-items: center; justify-content: center; border: 1.5px dashed #AAB3B9; border-radius: 6px; font-size: clamp(8px, 4.5cqh, 12px); font-weight: 600; color: #6B7378; }
.pp2-sketch-ribbon { position: absolute; right: 6%; top: 9%; border-radius: 999px; padding: 1.4cqh 4cqh; background: var(--slate); color: #fff; font-size: clamp(8px, 4.5cqh, 12px); font-weight: 600; white-space: nowrap; }
.pp2-sketch-line { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: Montserrat, Poppins, sans-serif; font-size: clamp(8px, 6cqh, 18px); font-weight: 600; color: #86909A; }
.pp2-sketch-line.is-first { font-size: clamp(10px, 10cqh, 30px); font-weight: 800; color: #56616B; }
.pp2-backcover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: #F1F3EE; }
.pp2-backcover span { font-size: clamp(11px, 6cqh, 15px); font-weight: 600; color: #6B7378; }
.pp2-tape { position: absolute; z-index: 1; }
.pp2-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pp2-backchip { position: absolute; z-index: 3; right: 6px; top: 6px; background: var(--slate); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.pp2-gdot { position: absolute; z-index: 2; }
.pp2-dim { position: absolute; box-sizing: border-box; }
.pp2-dim span { position: absolute; background: #EEF1EC; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pp2-dim.is-w { left: 0; right: 0; top: -28px; height: 12px; border-left: 1.5px solid var(--slate); border-right: 1.5px solid var(--slate); }
.pp2-dim.is-w::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1.5px solid var(--slate); }
.pp2-dim.is-w span { left: 50%; top: -5px; transform: translateX(-50%); padding: 0 8px; }
.pp2-dim.is-h { top: 0; bottom: 0; left: -30px; width: 12px; border-top: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); }
.pp2-dim.is-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 5px; border-left: 1.5px solid var(--slate); }
.pp2-dim.is-h span { top: 50%; left: 6px; transform: translate(-50%, -50%); padding: 3px 0; }
.pp2-qtybadge { position: absolute; top: -16px; right: -16px; z-index: 4; min-width: 36px; height: 36px; padding: 0 8px; box-sizing: border-box; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(20,47,66,.2); }

.pp2-real { position: absolute; inset: 0; background: linear-gradient(180deg, #F4F7F1 0%, #E8EEE3 100%); }
.pp2-ground { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #C9DEA6 0%, #B5CF8C 100%); border-top: 2px solid #A3C176; }
.pp2-real-group { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-end; }
.pp2-real-wrap { position: relative; flex: none; }
.pp2-leg { position: absolute; z-index: 0; }
.pp2-real-board { position: absolute; left: 0; top: 0; z-index: 1; background: #fff; overflow: hidden; box-shadow: 0 6px 14px rgba(20,47,66,.22); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2px; box-sizing: border-box; font-weight: 600; color: var(--soft); border: 1.5px dashed #B9C4AE; }
.pp2-real-board img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pp2-person { flex: none; }
.pp2-person svg { display: block; width: 100%; height: 100%; }
.pp2-real-cap { position: absolute; right: 12px; font-size: 12px; font-weight: 500; color: var(--slate); background: rgba(255,255,255,.88); border-radius: 999px; padding: 4px 11px; }

/* thumbnails: your sign first, then the photos */
.pp2-thumbs { display: flex; align-items: center; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; }
.pp2-thumbs::-webkit-scrollbar { display: none; }
.pp2-mini, .pp2-thumb { position: relative; flex: none; width: 60px; height: 60px; box-sizing: border-box; border-radius: 10px; border: 2px solid #E3E7DF; }
.pp2-mini { padding: 0; overflow: hidden; background: #EEF1EC; }
.pp2-thumb { padding: 2px; background: #fff; }
.pp2-mini.is-on, .pp2-thumb.is-on { border-color: var(--slate); }
.pp2-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.pp2-mini-sign { position: absolute; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #8A949A; overflow: hidden; box-shadow: 0 1px 3px rgba(20,47,66,.2); }
.pp2-mini-sign img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pp2-mini-ph { position: absolute; left: 14%; right: 14%; top: 16%; height: 24%; background: var(--slate); border-radius: 1px; box-shadow: 0 calc(1px + 160%) 0 -1px #C5CCC0; }
.pp2-mini-cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--slate); color: #fff; font-size: 9px; font-weight: 600; line-height: 14px; text-align: center; white-space: nowrap; overflow: hidden; letter-spacing: -.1px; }
.pp2-thumb-hint { margin-left: 6px; font-size: 12px; line-height: 1.35; color: #6B7378; max-width: 220px; }
@media (max-width: 699px) {
    .pp2-mini, .pp2-thumb { width: 48px; height: 48px; }
    .pp2-mini-cap { font-size: 8.5px; }
    .pp2-thumb-hint { display: none; }
    .pp2-mini-cap { font-size: 8px; }
    .pp2-qtys .pp2-chip { padding: 6px 1px; }
    .pp2-qtys .pp2-chip-sub { font-size: 10px; letter-spacing: -.2px; }
}

/* artwork templates (full width, under the order area) */
.pp2-templates { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.pp2-templates-title { margin: 0; font-size: 15px; font-weight: 600; }
.pp2-templates-sub { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--soft); }
.pp2-templates ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.pp2-templates a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #DCE1D6; border-radius: 10px; color: var(--slate); text-decoration: none; }
.pp2-templates a:hover { border-color: var(--slate); }
.pp2-tpl-kind { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 28px; border-radius: 6px; background: var(--slate); color: #fff; font-size: 11px; font-weight: 700; }
.pp2-tpl-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; }
.pp2-tpl-name span { font-size: 11.5px; font-weight: 400; color: #6B7378; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp2-tpl-dl { flex: none; font-size: 12px; font-weight: 600; color: var(--olive-d); text-decoration: underline; text-underline-offset: 3px; }

/* ---- The order card ---- */
.pp2-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(20,47,66,.04), 0 16px 40px rgba(20,47,66,.06); }
.pp2-swap { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; padding: 12px 14px; background: var(--tint); border: 1px solid #C9E48F; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.pp2-swap img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid #DCE1D6; flex: none; }
.pp2-swap > div { flex: 1; min-width: 0; }
.pp2-swap-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--olive-d); }
.pp2-swap a { font-size: 12px; font-weight: 600; color: var(--soft); text-decoration: underline; }

/* the price bar: sticky at the top of the card, dark once it sticks; a dark
   bar at the bottom of the screen on phones */
.pp2-cart { display: contents; }
.pp2-bar { position: sticky; top: 0; z-index: 8; display: flex; flex-direction: column; padding: 16px 20px; box-sizing: border-box; background: #fff; color: var(--navy); border-radius: 21px 21px 0 0; border-bottom: 1px solid var(--line); transition: background-color .25s ease, box-shadow .25s ease, border-radius .25s ease, color .25s ease; }
.pp2-bar.is-stuck { border-radius: 0 0 18px 18px; box-shadow: 0 12px 28px rgba(20,47,66,.28); border-bottom-color: transparent; }
.pp2-bar.is-dark { background: var(--slate); color: #fff; }
.pp2-bar-row { display: flex; align-items: center; gap: 14px; }
.pp2-bar-info { flex: 1; min-width: 0; }
.pp2-total { font-size: 32px; font-weight: 600; line-height: 1.05; letter-spacing: -1px; color: var(--navy); transition: color .25s ease; }
.pp2-total-sub { font-size: 12.5px; line-height: 1.35; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--soft); }
.pp2-break-link { border: 0; background: none; padding: 0; margin-top: 4px; min-height: 24px; font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--slate); }
.pp2-bar.is-dark .pp2-total { color: var(--lime); }
.pp2-bar.is-dark .pp2-total-sub { color: rgba(255,255,255,.8); }
.pp2-bar.is-dark .pp2-break-link { color: rgba(255,255,255,.85); }
.pp2-cart-form { flex: none; margin: 0; }
.pp2-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 12px; border: 0; font-size: 15px; font-weight: 600; background: var(--lime); color: var(--navy); transition: background .2s, transform .2s; }
.pp2-cta:hover:not(:disabled) { background: #A6E21A; transform: translateY(-1px); }
.pp2-cta:disabled { opacity: .65; cursor: not-allowed; }
.pp2-cta [x-cloak] { display: none; }
.pp2-break { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--page); color: var(--slate); }
.pp2-bar.is-dark .pp2-break { background: rgba(255,255,255,.08); color: #fff; }
.pp2-break-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; line-height: 1.4; }
.pp2-break-label { min-width: 0; }
.pp2-break-sub { display: block; font-size: 11.5px; color: var(--soft); }
.pp2-break-amt { flex: none; font-weight: 600; }
.pp2-break-note { margin: 4px 0 2px; font-size: 11.5px; color: var(--soft); }
.pp2-bar.is-dark .pp2-break-sub, .pp2-bar.is-dark .pp2-break-note { color: rgba(255,255,255,.7); }
@media (max-width: 699px) {
    .pp2-bar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--slate); color: #fff; border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: 0 -10px 28px rgba(20,47,66,.28); max-height: 80vh; overflow-y: auto; }
    .pp2-bar.is-stuck { border-radius: 18px 18px 0 0; }
    .pp2-total { font-size: 27px; color: var(--lime); }
    .pp2-total-sub { color: rgba(255,255,255,.8); }
    .pp2-break-link { color: rgba(255,255,255,.85); }
    .pp2-cta { min-height: 48px; padding: 0 14px; }
    .pp2-break { background: rgba(255,255,255,.08); color: #fff; }
    .pp2-break-sub, .pp2-break-note { color: rgba(255,255,255,.7); }
    .pp2-bottom-space { height: 120px; }
    body:has(.pp2) .sf-ft { padding-bottom: 120px; }
}

/* ---- Steps ---- */
.pp2-form { margin: 0; }
.pp2-specs { margin: 0; padding: 14px 20px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; line-height: 1.45; }
.pp2-specs div { display: flex; gap: 6px; }
.pp2-specs dt { color: #6B7378; } .pp2-specs dt::after { content: ":"; }
.pp2-specs dd { margin: 0; font-weight: 600; }
.pp2-step { padding: 18px 20px 20px; border-top: 8px solid #F1F3EE; }
.pp2-form > section.pp2-step:first-of-type { border-top: 0; }
.pp2-step-head { display: flex; align-items: center; gap: 12px; }
.pp2-step-no { flex: none; width: 30px; height: 30px; box-sizing: border-box; border-radius: 999px; border: 1.5px solid var(--slate); background: #fff; color: var(--slate); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.pp2 .pp2-step-title { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.2px; line-height: 1.2; color: var(--slate); }
.pp2-step-sum { flex: none; max-width: 48%; text-align: right; font-size: 13px; font-weight: 500; color: #3F4A52; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 699px) {
    .pp2-step { padding: 16px 14px 18px; }
    .pp2-specs { padding: 12px 14px 0; }
    .pp2 .pp2-step-title { font-size: 17px; }
}

/* 1 Size */
.pp2-size-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.pp2-size-field { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--soft); }
.pp2-in-wrap { position: relative; display: block; margin-top: 4px; }
.pp2-in { display: block; width: 100%; box-sizing: border-box; height: 52px; border: 1px solid #C9D1C2; border-radius: 12px; padding: 0 36px 0 14px; font-size: 18px; font-weight: 600; color: var(--slate); background: #fff; }
.pp2-in:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(147,213,0,.35); }
.pp2-unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #6B7378; pointer-events: none; }
.pp2-turn { flex: none; width: 44px; height: 52px; border-radius: 12px; border: 1px solid #DCE1D6; background: #fff; color: var(--slate); display: inline-flex; align-items: center; justify-content: center; }
.pp2-turn:hover { border-color: var(--slate); }
.pp2-size-line { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.5; color: #3F4A52; }
.pp2-size-line.is-warn { color: #8A5A00; }
.pp2-size-line a { font-weight: 600; color: var(--olive-d); text-decoration: underline; text-underline-offset: 3px; }
.pp2-size-hint { margin: 2px 2px 0; font-size: 11.5px; line-height: 1.45; color: #6B7378; }
.pp2-popular { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pp2-popular-label { font-size: 12.5px; font-weight: 500; color: var(--soft); margin-right: 2px; }
.pp2-pill { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #DCE1D6; background: #fff; font-size: 13px; font-weight: 500; color: var(--slate); }
.pp2-pill:hover { border-color: var(--slate); }
.pp2-pill.is-on { font-weight: 600; background: #F6FCEB; border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); color: var(--navy); }
.pp2-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 6px; margin-top: 12px; }
.pp2-custom { margin-top: 4px; }

/* tiles: sizes from a list, and quantities */
.pp2-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; padding: 6px 2px; box-sizing: border-box; border-radius: 12px; border: 1px solid #DCE1D6; background: #fff; min-width: 0; color: var(--slate); text-align: center; line-height: 1.15; }
.pp2-chip:hover { border-color: var(--slate); }
.pp2-chip.is-on { background: #F6FCEB; border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); color: var(--navy); }
.pp2-chip-name { font-size: 15px; font-weight: 600; white-space: nowrap; }
.pp2-chip.is-tile .pp2-chip-name { font-size: 13.5px; white-space: normal; }
.pp2-chip-sub { font-size: 11px; font-weight: 500; color: #6B7378; white-space: nowrap; }
.pp2-chip-sub.is-save { color: var(--olive-d); }
.pp2-chip.is-on .pp2-chip-sub { color: var(--slate); }

/* 2 How many */
.pp2-stepper { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; border: 1px solid #DCE1D6; border-radius: 999px; padding: 2px; background: #fff; }
.pp2-stepper button { width: 40px; height: 40px; border-radius: 999px; border: 0; background: #F1F3EE; color: var(--slate); font-size: 18px; line-height: 1; }
.pp2-stepper button:disabled { opacity: .4; cursor: default; }
.pp2-stepper input { width: 58px; height: 40px; border: 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--slate); background: transparent; -moz-appearance: textfield; appearance: textfield; }
.pp2-stepper input::-webkit-outer-spin-button, .pp2-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp2-qty-select { margin-left: auto; min-height: 40px; padding: 0 34px 0 14px; border: 1px solid #DCE1D6; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232E3A43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 15px; font-weight: 600; color: var(--slate); appearance: none; -webkit-appearance: none; }
.pp2-qtys { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pp2-nudge { margin-top: 8px; min-height: 34px; border: 0; background: #F3F5F1; color: var(--slate); border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 500; text-align: left; }
.pp2-nudge:hover { background: var(--tint); }
.pp2-qty-note { margin: 8px 2px 0; font-size: 12px; color: #6B7378; }
.pp2-qty-note a { color: var(--olive-d); font-weight: 600; }

/* 3 Printing and finishing: one row per option, one bordered track, a small
   drawing and a "best for" line in each choice (design D) */
.pp2-fin { display: flex; flex-direction: column; margin-top: 4px; }
.pp2-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 12px 0; }
.pp2-row + .pp2-row { border-top: 1px solid #EAEBEC; }
.pp2-row-label { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; }
.pp2-row-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.pp2-row-help { font-size: 12px; line-height: 1.4; color: var(--muted); }
.pp2-row-body { min-width: 0; }
.pp2-track { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border: 1px solid #D5DAD0; border-radius: 12px; overflow: hidden; background: #fff; }
.pp2-seg { min-width: 0; min-height: 90px; padding: 9px 4px 8px; box-sizing: border-box; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; color: var(--slate); background: #fff; }
.pp2-seg + .pp2-seg { border-left: 1px solid #E3E7DF; }
.pp2-seg:first-child { border-radius: 11px 0 0 11px; }
.pp2-seg:last-child { border-radius: 0 11px 11px 0; }
.pp2-seg:only-child { border-radius: 11px; }
.pp2-seg:hover { background: #FAFBF8; }
.pp2-seg.is-on { background: var(--tint); box-shadow: inset 0 0 0 2px var(--slate); }
.pp2-seg.is-dis { opacity: .4; cursor: not-allowed; }
.pp2-seg.is-dis:hover { background: #fff; }
.pp2-row-help.is-locked { color: var(--slate); font-weight: 500; }
.pp2-seg:focus-visible { outline-offset: -3px !important; }
.pp2-ico { position: relative; flex: none; width: 30px; height: 22px; margin: 2px 0 5px; transform: scale(1.15); transform-origin: center; opacity: .5; }
.pp2-ico > span { position: absolute; box-sizing: border-box; }
.pp2-ico img { width: 100%; height: 100%; object-fit: contain; }
.pp2-seg.is-on .pp2-ico { opacity: 1; }
.pp2-seg-name { max-width: 100%; font-size: 12.5px; line-height: 1.25; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp2-seg.is-on .pp2-seg-name { font-weight: 600; }
.pp2-seg-hint { max-width: 100%; font-size: 11px; line-height: 1.3; text-align: center; color: var(--muted); }
.pp2-seg.is-on .pp2-seg-hint { color: #3F4A52; }
.pp2-seg-price { margin-top: auto; padding-top: 3px; font-size: 11px; line-height: 1.25; white-space: nowrap; color: var(--muted); }
.pp2-seg.is-on .pp2-seg-price { font-weight: 600; color: var(--slate); }
.pp2-track.is-text .pp2-seg { min-height: 58px; justify-content: center; }
.pp2-track.is-text .pp2-seg-name { white-space: normal; text-align: center; overflow-wrap: anywhere; }
.pp2-track.is-text .pp2-seg-price { margin-top: 2px; }
.pp2-row-detail { margin: 8px 2px 0; font-size: 12px; line-height: 1.5; color: #3F4A52; }
.pp2-fin-note { margin: 4px 2px 0; font-size: 11.5px; color: #6B7378; }
@media (max-width: 699px) {
    .pp2-row { display: block; padding: 14px 0; }
    .pp2-row-label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 8px; padding-top: 0; }
    .pp2-seg { min-height: 96px; }
}

/* 4 Artwork: the picture cards (Upload artwork, Design online, Have us
   design it), restyled to the design; the panel under them */
.pp2 .art-tabs { gap: 8px; margin-top: 14px; }
.pp2 .art-tab { border: 1.5px solid #DCE1D6; border-radius: 12px; background: #fff; padding: 8px 6px 10px; gap: 4px; box-shadow: none; transform: none; }
.pp2 .art-tab:hover { border-color: var(--slate); background: #fff; transform: none; }
.pp2 .art-tab.is-active, .pp2 .art-tab.is-active:hover { border-color: var(--slate); background: #F6FCEB; box-shadow: inset 0 0 0 1px var(--slate); }
.pp2 .art-tab-art { height: 64px; margin-bottom: 2px; border-radius: 8px; background: var(--page); }
.pp2 .art-tab:hover .art-tab-art { background: var(--page); }
.pp2 .art-tab.is-active .art-tab-art { background: #E9F4D2; }
.pp2 .art-tab-check { top: -8px; right: -8px; width: 22px; height: 22px; background: var(--slate); border: 2px solid #fff; }
.pp2 .art-tab-check svg { stroke: var(--lime); }
.pp2 .art-tab-name { font-size: 13px; font-weight: 700; }
.pp2 .art-tab-sub, .pp2 .art-tab-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: #F1F3EE; color: #3F4A52; border: 0; }
.pp2 .art-tab.is-active .art-tab-sub, .pp2 .art-tab.is-active .art-tab-pill { background: var(--slate); color: #fff; }
.pp2 .art-notches { display: none; }
.pp2 .art-panel { margin-top: 8px; background: var(--page); border: 0; border-radius: 14px; padding: 12px; box-shadow: none; }
.pp2 .art-panel .tsp-drop:not(.is-done), .pp2 .tsp-drop { border: 1.5px dashed #B9C4AE; border-radius: 12px; background: #fff; }
.pp2 .tsp-drop.is-done { border-style: solid; border-color: #DCE1D6; }
@media (max-width: 699px) { .pp2 .art-tab-art { height: 52px; } }

/* stand-only note (table-top display) */
.pp2-fit { margin: 0 20px 4px; padding: 12px 14px; border: 1px solid #F2D9A6; background: #FFF7E6; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #5B4300; }
.pp2-fit-title { font-weight: 700; }
.pp2-fit ul { margin: 6px 0 0; padding-left: 18px; }
.pp2-fit a { font-weight: 600; color: var(--olive-d); }

/* 5 Job name and notes */
.pp2-job { margin-top: 12px; }
.pp2-lab { display: block; margin: 12px 0 4px; font-size: 13px; font-weight: 600; }
.pp2-lab:first-child { margin-top: 0; }
.pp2-text { display: block; width: 100%; box-sizing: border-box; border: 1px solid #DCE1D6; border-radius: 10px; padding: 10px 12px; font-size: 16px; line-height: 1.45; color: var(--slate); background: #fff; resize: vertical; }
.pp2-text:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(147,213,0,.35); }
.pp2-help { margin: 4px 2px 0; font-size: 11.5px; line-height: 1.45; color: #6B7378; }

/* the promises at the foot of the card */
.pp2-checks { padding: 16px 20px 20px; border-top: 1px solid #EEF1EC; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.5; color: var(--soft); }
.pp2-check { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.pp2-check svg { flex: none; margin-top: 3px; }
.pp2-taxnote { margin: 0 0 0 21px; font-size: 12px; color: #6B7378; }
@media (max-width: 699px) { .pp2-checks { padding: 14px 14px 18px; } }

/* ---- About this product, You might also like ---- */
.pp2-about { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px 34px; }
.pp2-about h2, .pp2-related h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.3px; }
.pp2-about-bar { width: 40px; height: 3px; border-radius: 2px; background: var(--lime); margin-top: 10px; }
.pp2-about-body { margin-top: 18px; column-count: 2; column-gap: 48px; }
.pp2-about-body > * { break-inside: avoid; }
@media (max-width: 1099px) { .pp2-about-body { column-count: 1; } }
@media (max-width: 699px) { .pp2-about { padding: 22px 18px 26px; } }
.pp2-related { margin-top: 44px; }
.pp2-related h2 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.5px; }
.pp2-related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pp2-related-head a { font-size: 14px; font-weight: 600; color: var(--olive-d); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.pp2-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
@media (max-width: 699px) { .pp2-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pp2-rel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--slate); transition: border-color .2s, transform .2s; }
.pp2-rel:hover { border-color: var(--lime); transform: translateY(-2px); }
.pp2-rel-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #EEF1EC; }
.pp2-rel-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp2-rel-name { padding: 12px 14px 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.pp2-rel-price { padding: 2px 14px 14px; font-size: 13px; color: var(--soft); }
.pp2-rel-price strong { color: var(--slate); }
