/* Business choices share one visual axis regardless of translated text length. */
.setup-business-card .setup-template-grid {
    gap: 16px;
    align-items: stretch;
}

.setup-business-card .setup-template-card {
    justify-items: center;
    align-content: start;
    gap: 14px;
    padding: 26px 18px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #fbfdfd);
    box-shadow: 0 4px 16px rgba(6, 26, 53, .035);
}

.setup-business-card .setup-template-card strong {
    width: 100%;
    min-width: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.setup-business-card .setup-template-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #07888e;
    background: #edfaf9;
    border-color: #d2efed;
    box-shadow: inset 0 1px 0 #fff;
}

.setup-business-card .setup-template-card ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.setup-business-card .setup-template-card li {
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #e5edf1;
    border-radius: 9px;
    background: #f5f8fa;
    color: #526579;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.setup-business-card .setup-template-card.selected {
    border-color: #13999d;
    background: linear-gradient(180deg, #fff, #effaf8);
    box-shadow: 0 0 0 1px #13999d, 0 8px 24px rgba(7, 136, 142, .08);
    transform: none;
}

.setup-business-card .setup-template-card.selected li {
    border-color: #d4eae6;
    background: #eaf6f3;
    color: #21635f;
}

/* Native radios remain keyboard accessible without affecting card alignment. */
.setup-business-card .setup-template-card input[type="radio"] {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
}

.setup-business-card .setup-template-card:has(input:focus-visible) {
    outline: 3px solid #087b80;
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .setup-business-card .setup-template-card {
        padding: 22px 18px;
        gap: 12px;
    }
}
