/* [PRODUCT FORMS 2026-10-24 · Adam] A product landing page's mock-up brief (rope hats first; sideline hats and jackets reuse
   it): colour swatches, the product's own design templates, the logo upload. Scoped to .pf-* only. */
.pf-field { border: 0; padding-top: 0; padding-bottom: 0; min-width: 0; }   /* keeps the column's side padding, so it lines up with the other fields */
.pf-field legend { float: none; width: auto; font-size: inherit; margin-bottom: 8px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { position: relative; }
.pf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-chip label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 6px; border: 1px solid #d6dae1; border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; color: #0A2143; }
.pf-chip input:checked + label { border-color: #0A2143; box-shadow: 0 0 0 2px #0A2143 inset; font-weight: 600; }
.pf-chip input:focus-visible + label { outline: 2px solid #E3A730; outline-offset: 2px; }
.pf-sw { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); flex: none; border: 1px solid rgba(10,33,67,.18); }
.pf-sw-light { border-color: #b8c0cc; }
.pf-chips-sm .pf-sw { width: 22px; height: 22px; }
.pf-chips-sm label { padding-right: 10px; font-size: 13px; }
.pf-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pf-tpl { position: relative; }
.pf-tpl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-tpl label { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 8px; border: 1px solid #d6dae1; border-radius: 10px; background: #fff; cursor: pointer; text-align: center; font-size: 13px; font-weight: 600; color: #0A2143; }
.pf-tpl img, .pf-tpl .pf-tpl-any { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f4f5f7; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #5b6675; }
.pf-tpl input:checked + label { border-color: #0A2143; box-shadow: 0 0 0 2px #0A2143 inset; }
.pf-tpl input:focus-visible + label { outline: 2px solid #E3A730; outline-offset: 2px; }
.pf-hint { margin: 6px 0 0; font-size: 13px; color: #5b6675; }
@media (max-width: 991.98px) {
  form[data-template-sku] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]), form[data-template-sku] select, form[data-template-sku] textarea { font-size: 16px !important; }
}
/* Team colors as slots (Color 1 · 2 · 3) and the compact dot grid they open. */
.pf-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf-slot { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 10px; border: 1px solid #d6dae1; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; color: #0A2143; min-width: 0; }
.pf-slot.on { border-color: #0A2143; box-shadow: 0 0 0 2px #0A2143 inset; }
.pf-slot:focus-visible, .pf-dot:focus-visible { outline: 2px solid #E3A730; outline-offset: 2px; }
.pf-slot-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; border: 1.5px dashed #94A2AE; }
.pf-slot.filled .pf-slot-dot { border: 1px solid rgba(10,33,67,.18); }
.pf-slot-dot.light { border-color: #b8c0cc !important; }
.pf-slot-txt { min-width: 0; line-height: 1.2; }
.pf-slot-txt small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6675; }
.pf-slot-txt b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-grid { margin-top: 10px; padding: 12px; border: 1px solid #d6dae1; border-radius: 10px; background: #f8fafc; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.pf-grid[hidden] { display: none; }
.pf-grid-h { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: #0A2143; }
.pf-dot { aspect-ratio: 1; width: 100%; max-width: 44px; min-height: 32px; border-radius: 50%; border: 1px solid rgba(10,33,67,.2); cursor: pointer; padding: 0; justify-self: center; }
.pf-dot.light { border-color: #b8c0cc; }
.pf-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0A2143; }
.pf-dot[disabled] { opacity: .2; cursor: not-allowed; }
[data-pf-slots] .qf-err { color: #B42318; font-size: 14px; margin-top: 6px; font-weight: 500; }
@media (max-width: 575.98px) {
  .pf-slot { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px; }
  .pf-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
