.pfc-apparel-form {
    display: flex;
    flex-direction: column;
    margin: 1.5rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    counter-reset: pfc-step;
}
.pfc-apparel-step:not([hidden]) {
    counter-increment: pfc-step;
}
.pfc-apparel-step:not([hidden]) .pfc-apparel-step-number::before {
    content: counter(pfc-step);
}
.pfc-apparel-step {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 1rem;
    transition: opacity .2s ease;
}
.pfc-apparel-step.is-locked {
    opacity: .45;
    pointer-events: none;
}
.pfc-apparel-step-header {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.pfc-apparel-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    flex-shrink: 0;
}
.pfc-apparel-step.is-locked .pfc-apparel-step-number {
    background: #999;
}
.pfc-apparel-step-title {
    font-weight: 600;
    font-size: 1rem;
}
.pfc-apparel-step-min {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    background: #fef3c7;
    color: #78350f;
    border: 1px solid #fbbf24;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.pfc-apparel-step-min::before {
    content: "\26A0"; /* Unicode warning-driehoek */
    font-size: 1rem;
    line-height: 1;
}
.pfc-apparel-step-min-hint {
    margin: 0 0 .9rem;
    padding: .7rem .85rem;
    background: #fef3c7;
    color: #78350f;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.4;
}
.pfc-apparel-step-body {
    padding: 1rem;
}
.pfc-apparel-step-body > *:first-child {
    margin-top: 0;
}
.pfc-apparel-step-body > *:last-child {
    margin-bottom: 0;
}
.pfc-apparel-form *,
.pfc-apparel-form *::before,
.pfc-apparel-form *::after {
    box-sizing: border-box;
}
.pfc-apparel-matrix {
    width: 100%;
    max-width: 100%;
}
.pfc-apparel-label {
    display: block;
    font-weight: 600;
    margin-bottom: .35rem;
}
.pfc-apparel-genders,
.pfc-apparel-colors {
    margin-bottom: 1rem;
}
.pfc-apparel-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.pfc-apparel-color {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}
/* The checkbox is purely state — keep it accessible to assistive tech but visually hidden. */
.pfc-apparel-color input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.pfc-apparel-color:has(input:checked) {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
    background: #fafafa;
}
.pfc-apparel-colors.is-single-color .pfc-apparel-color {
    cursor: default;
}
.pfc-apparel-logo {
    margin: 1rem 0;
}
.pfc-apparel-logo-select {
    width: 100%;
    max-width: 100%;
    padding: 0 2.5rem 0 1rem;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
    font-size: 1rem;
    line-height: 1.4;
    color: #111;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pfc-apparel-logo-select:hover {
    border-color: #999;
}
.pfc-apparel-logo-select:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, .12);
}
.pfc-apparel-print-methods {
    margin: 1rem 0;
}
.pfc-apparel-print-methods[hidden] {
    display: none;
}

/* === Step 2: Kies opdrukkleuren — methode-rijen met variant-kaarten === */
.pfc-apparel-method-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.pfc-apparel-method-head {
    margin-bottom: .5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem;
}
.pfc-apparel-method-label {
    font-size: .95rem;
    color: #444;
}
.pfc-apparel-method-name {
    color: #1e7ce5;
    font-weight: 600;
}
.pfc-apparel-method-size {
    font-size: .85rem;
    color: #888;
}
.pfc-apparel-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.pfc-apparel-variant-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    padding: .9rem 1.2rem;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: .95rem;
    color: #333;
    user-select: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.pfc-apparel-variant-card:hover {
    border-color: #999;
}
.pfc-apparel-variant-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pfc-apparel-variant-card:has(.pfc-apparel-variant-radio:checked) {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
    font-weight: 600;
}
.pfc-apparel-variant-card:has(.pfc-apparel-variant-radio:disabled) {
    opacity: .5;
    cursor: not-allowed;
}
.pfc-apparel-variant-card:has(.pfc-apparel-variant-radio:focus-visible) {
    box-shadow: 0 0 0 3px rgba(30, 124, 229, .3);
}
.pfc-apparel-variant-card.is-none-card .pfc-apparel-variant-label {
    color: #555;
}
.pfc-apparel-nologo-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ececec;
}
.pfc-apparel-nologo-card {
    width: 100%;
    justify-content: flex-start;
    padding-left: 1.4rem;
}
.pfc-apparel-print-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .5rem;
    margin-top: .35rem;
}
.pfc-apparel-print-card {
    display: block;
    cursor: pointer;
    user-select: none;
}
.pfc-apparel-print-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.pfc-apparel-print-card-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .75rem .9rem;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pfc-apparel-print-card:has(input:checked) .pfc-apparel-print-card-body {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
    background: #fafafa;
}
.pfc-apparel-print-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .6rem;
    align-items: baseline;
}
.pfc-apparel-print-method {
    font-weight: 600;
}
.pfc-apparel-print-location {
    color: #555;
    font-size: .9em;
}
.pfc-apparel-print-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    font-size: .85em;
    color: #555;
}
.pfc-apparel-print-locations-section {
    margin-top: 1rem;
}
.pfc-apparel-print-locations-section[hidden] {
    display: none;
}
.pfc-apparel-print-locations {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: .65rem;
}
.pfc-apparel-print-locations[hidden] {
    display: none;
}
.pfc-apparel-print-location {
    margin: 0;
    padding: 0;
    border: none;
}
.pfc-apparel-print-location-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    padding: .55rem .55rem .65rem;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    margin: 0;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.pfc-apparel-print-location-card:hover {
    border-color: #999;
}
.pfc-apparel-print-location-card .pfc-apparel-print-loc-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pfc-apparel-print-location-card:has(.pfc-apparel-print-loc-toggle:checked) {
    border-color: #111;
    box-shadow: inset 0 0 0 1px #111;
}
.pfc-apparel-print-location-card:has(.pfc-apparel-print-loc-toggle:checked)::after {
    content: '';
    position: absolute;
    top: .35rem;
    right: .35rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #111 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.4 11.2 3.6 8.4l1.13-1.13 1.67 1.67 4.97-4.97 1.13 1.13z'/></svg>") center/.8rem no-repeat;
}
.pfc-apparel-print-location-card:has(.pfc-apparel-print-loc-toggle:focus-visible) {
    box-shadow: 0 0 0 3px rgba(30, 124, 229, .3);
}
.pfc-apparel-print-location-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
}
.pfc-apparel-print-location-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.pfc-apparel-print-location-placeholder {
    width: 60%;
    aspect-ratio: 1 / 1;
    background: repeating-linear-gradient(45deg, #e6e6e6 0 6px, #f5f5f5 6px 12px);
    border-radius: 4px;
}
.pfc-apparel-print-location-name {
    font-size: .85rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.2;
}
.pfc-apparel-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    flex-shrink: 0;
}
.pfc-apparel-row {
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: .75rem 1rem;
    margin-bottom: .75rem;
    background: #fafafa;
}
.pfc-apparel-row[hidden] {
    display: none;
}
.pfc-apparel-row-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
    font-weight: 600;
}
.pfc-apparel-tier-table {
    width: 100%;
    margin: 0 0 1rem;
    border-collapse: collapse;
    font-size: .9em;
    background: #fff;
}
.pfc-apparel-tier-table th,
.pfc-apparel-tier-table td {
    text-align: left;
    padding: .45rem .6rem;
    border-bottom: 1px solid #ececec;
}
.pfc-apparel-tier-table th {
    font-weight: 600;
    color: #555;
    background: transparent;
}
.pfc-apparel-tier-table tr.is-min-qty td {
    background: #f5f5f5;
}
.pfc-apparel-min-label {
    color: #b06000;
    font-size: .85em;
    margin-left: .35rem;
}
.pfc-apparel-sizes-intro {
    font-size: .9em;
    color: #555;
    margin-bottom: .5rem;
}
.pfc-apparel-quickpick-row {
    cursor: pointer;
    transition: background-color .12s ease;
}
.pfc-apparel-quickpick-row:hover td {
    background: #fafafa;
}
.pfc-apparel-quickpick-row.is-selected td {
    background: #f0f9f0;
}
.pfc-apparel-quickpick-row:focus {
    outline: none;
}
.pfc-apparel-quickpick-row:focus td:first-child {
    outline: 2px solid rgba(46, 125, 50, .35);
    outline-offset: -2px;
}
.pfc-apparel-quickpick-cell {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.pfc-apparel-quickpick-indicator {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    transition: border-color .12s ease, background-color .12s ease;
}
.pfc-apparel-quickpick-row:hover .pfc-apparel-quickpick-indicator {
    border-color: #999;
}
.pfc-apparel-quickpick-row.is-selected .pfc-apparel-quickpick-indicator {
    background: #2e7d32;
    border-color: #2e7d32;
}
.pfc-apparel-quickpick-row.is-selected .pfc-apparel-quickpick-indicator::after {
    content: '';
    position: absolute;
    left: 0.24rem;
    top: 0.02rem;
    width: 0.3rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 0.15rem 0.15rem 0;
    transform: rotate(45deg);
}
.pfc-apparel-quickpick-qty {
    font-weight: 500;
}
.pfc-apparel-quickpick-custom {
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #ececec;
}
.pfc-apparel-quickpick-custom-label {
    display: block;
    margin-bottom: .35rem;
    font-size: .9em;
    color: #555;
}
.pfc-apparel-quickpick-custom-label small {
    color: #b06000;
}
.pfc-apparel-quickpick-custom-controls {
    display: flex;
    gap: .5rem;
    align-items: stretch;
    flex-wrap: wrap;
}
.pfc-apparel-quickpick-custom-input {
    flex: 1 1 8rem;
    min-width: 0;
    padding: .45rem .6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
}
.pfc-apparel-quickpick-custom-btn {
    padding: .45rem 1rem;
    border: 1px solid #2e7d32;
    background: transparent;
    color: #2e7d32;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.pfc-apparel-quickpick-custom-btn:hover {
    background: #2e7d32;
    color: #fff;
}
.pfc-apparel-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: .5rem;
}
.pfc-apparel-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .35rem;
    border: 1px solid transparent;
    border-radius: 4px;
}
.pfc-apparel-cell.is-disabled {
    opacity: .35;
}
.pfc-apparel-size-label {
    font-size: .85rem;
    color: #555;
}
.pfc-apparel-qty-label {
    font-size: .7rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
}
.pfc-apparel-qty {
    width: 100%;
    max-width: 110px;
    padding: .35rem .5rem;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color .15s, box-shadow .15s;
}
.pfc-apparel-qty.is-overstock {
    border-color: #e08a2c;
    box-shadow: 0 0 0 2px rgba(224, 138, 44, .2);
}
.pfc-apparel-stock {
    font-size: .72rem;
    line-height: 1.1;
    text-align: center;
    margin-top: .1rem;
}
.pfc-apparel-stock.is-instock {
    color: #2c8a4c;
}
.pfc-apparel-stock.is-backorder {
    color: #e08a2c;
}
.pfc-apparel-na {
    font-size: .75rem;
    color: #999;
}
.pfc-apparel-summary {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 1rem 0;
    padding: .9rem 1rem;
    background: #f5f5f5;
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.pfc-apparel-summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.pfc-apparel-summary > div[hidden] {
    display: none;
}
.pfc-apparel-summary > div > span {
    color: #444;
}
.pfc-apparel-summary > div > strong {
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.pfc-apparel-min {
    color: #b06000;
    justify-content: flex-start;
}
.pfc-apparel-subtotal {
    border-top: 1px solid #d8d8d8;
    padding-top: .55rem;
    margin-top: .25rem;
    font-size: 1.05rem;
    font-weight: 600;
}
.pfc-apparel-subtotal > strong {
    font-size: 1.2rem;
}
.pfc-apparel-submit {
    display: block;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    padding: .9rem 1rem !important;
    font-size: 1rem !important;
}
.pfc-apparel-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}
