/* ------------------------------------------------------------------ */
/* Metaalstore – Paspijp diameterkeuze                                 */
/* ------------------------------------------------------------------ */

.mest-paspijp-wrapper {
    margin: 20px 0 24px;
    color: #1e1e1e;
}

.mest-paspijp-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.mest-paspijp-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.mest-paspijp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 10px;
}

.mest-paspijp-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.mest-paspijp-card:hover {
    border-color: #9ca3af;
}

.mest-paspijp-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.mest-paspijp-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.15s;
}

.mest-paspijp-card-label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    white-space: nowrap;
}

.mest-paspijp-card:has(input[type="radio"]:checked) {
    border-color: #16a34a;
    box-shadow: 0 0 0 1px #16a34a;
    background: #f0fdf4;
}

.mest-paspijp-card:has(input[type="radio"]:checked) .mest-paspijp-radio {
    border-color: #16a34a;
}

.mest-paspijp-card:has(input[type="radio"]:checked) .mest-paspijp-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
}

.mest-paspijp-card:focus-within {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .mest-paspijp-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .mest-paspijp-card {
        gap: 7px;
        min-height: 42px;
        padding: 8px 6px;
        border-radius: 9px;
    }

    .mest-paspijp-radio {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
    }

    .mest-paspijp-card:has(input[type="radio"]:checked) .mest-paspijp-radio::after {
        width: 7px;
        height: 7px;
    }

    .mest-paspijp-card-label {
        font-size: 13px;
    }
}

@media (max-width: 340px) {
    .mest-paspijp-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
